aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opendkim/opendkim.initd
diff options
context:
space:
mode:
authorStefan Wagner <stw@bit-strickerei.de>2016-11-19 01:17:12 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-19 12:23:25 +0100
commitb101426cab3555ae188c9f79f9aa92e8969195d3 (patch)
tree4b84eb0b3e01130b13ea807902e0c261e7aab640 /testing/opendkim/opendkim.initd
parentfcc2deb0e7a95c17f0e1d66809d6970ab9309d0e (diff)
testing/opendkim: fix init script
OpenDKIM always gets listed as "crashed" in openrc. Running it in foreground fixes the problem.
Diffstat (limited to 'testing/opendkim/opendkim.initd')
-rw-r--r--testing/opendkim/opendkim.initd5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/opendkim/opendkim.initd b/testing/opendkim/opendkim.initd
index da51074d920..843798f5ada 100644
--- a/testing/opendkim/opendkim.initd
+++ b/testing/opendkim/opendkim.initd
@@ -3,7 +3,8 @@
pidfile=/run/opendkim/opendkim.pid
command=/usr/sbin/opendkim
-command_args="${EXTRA_OPTS}"
+command_args="-f ${EXTRA_OPTS}"
+command_background=yes
depend() {
need net
@@ -11,5 +12,5 @@ depend() {
}
start_pre() {
- checkpath -d -o opendkim:opendkim -m755 /run/opendkim
+ checkpath -d -o opendkim:opendkim -m755 /run/opendkim
}