summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-07-20 10:49:14 -0400
committerMike Gilbert <floppym@gentoo.org>2016-07-20 10:52:59 -0400
commit3e4fb0e5e45eb8b2fb41fd5ab802c43454bbf00e (patch)
treed15bf20cd93230ab2cfafb1c149f134121871743 /app-mobilephone/kannel/files
parentdev-lang/go: stable 1.6.3 on amd64 for #589230 (diff)
downloadgentoo-3e4fb0e5e45eb8b2fb41fd5ab802c43454bbf00e.tar.gz
gentoo-3e4fb0e5e45eb8b2fb41fd5ab802c43454bbf00e.tar.bz2
gentoo-3e4fb0e5e45eb8b2fb41fd5ab802c43454bbf00e.zip
app-mobilephone/kannel: Don't keepdir /var/run/kannel
Call checkpath from the init script instead. Bug: https://bugs.gentoo.org/589212 Package-Manager: portage-2.3.0_p13
Diffstat (limited to 'app-mobilephone/kannel/files')
-rw-r--r--app-mobilephone/kannel/files/kannel-bearerbox.initd1
-rw-r--r--app-mobilephone/kannel/files/kannel-smsbox.initd1
-rw-r--r--app-mobilephone/kannel/files/kannel-wapbox.initd1
3 files changed, 3 insertions, 0 deletions
diff --git a/app-mobilephone/kannel/files/kannel-bearerbox.initd b/app-mobilephone/kannel/files/kannel-bearerbox.initd
index 14259d5ea8b7..a37b08432c09 100644
--- a/app-mobilephone/kannel/files/kannel-bearerbox.initd
+++ b/app-mobilephone/kannel/files/kannel-bearerbox.initd
@@ -19,6 +19,7 @@ checkconfig() {
start() {
checkconfig || return 1
+ checkpath -o root:kannel -m 0770 -d /var/run/kannel
ebegin "Starting kannel ${KANNEL_SERVICE}"
start-stop-daemon --start --quiet --exec /usr/sbin/${KANNEL_SERVICE} -- \
diff --git a/app-mobilephone/kannel/files/kannel-smsbox.initd b/app-mobilephone/kannel/files/kannel-smsbox.initd
index 73087e6b53e5..9ec5645bc8a7 100644
--- a/app-mobilephone/kannel/files/kannel-smsbox.initd
+++ b/app-mobilephone/kannel/files/kannel-smsbox.initd
@@ -18,6 +18,7 @@ checkconfig() {
start() {
checkconfig || return 1
+ checkpath -o root:kannel -m 0770 -d /var/run/kannel
ebegin "Starting kannel ${KANNEL_SERVICE}"
start-stop-daemon --start --quiet --exec /usr/sbin/${KANNEL_SERVICE} -- \
diff --git a/app-mobilephone/kannel/files/kannel-wapbox.initd b/app-mobilephone/kannel/files/kannel-wapbox.initd
index 73087e6b53e5..9ec5645bc8a7 100644
--- a/app-mobilephone/kannel/files/kannel-wapbox.initd
+++ b/app-mobilephone/kannel/files/kannel-wapbox.initd
@@ -18,6 +18,7 @@ checkconfig() {
start() {
checkconfig || return 1
+ checkpath -o root:kannel -m 0770 -d /var/run/kannel
ebegin "Starting kannel ${KANNEL_SERVICE}"
start-stop-daemon --start --quiet --exec /usr/sbin/${KANNEL_SERVICE} -- \