diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2014-10-22 17:32:31 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2014-10-22 17:32:31 +0000 |
commit | 83f9edb353bfd01a57cd0fefa26816c132b0eacc (patch) | |
tree | 05bc4619410f19c0907906542c5688f2b1d738ca /testing/yadifa/yadifa.initd | |
parent | 2ba746b56a0f3f8a9e20e6d6c865ce8120156359 (diff) | |
download | aports-83f9edb353bfd01a57cd0fefa26816c132b0eacc.tar.bz2 aports-83f9edb353bfd01a57cd0fefa26816c132b0eacc.tar.xz |
testing/yadifa: fixed init and pid file name
Diffstat (limited to 'testing/yadifa/yadifa.initd')
-rw-r--r-- | testing/yadifa/yadifa.initd | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/testing/yadifa/yadifa.initd b/testing/yadifa/yadifa.initd index 228e4af109..ae0d67fc4f 100644 --- a/testing/yadifa/yadifa.initd +++ b/testing/yadifa/yadifa.initd @@ -8,7 +8,6 @@ depend() { provide dns } - checkconfig() { if [ ! -f "${CONFFILE}" ]; then eerror "${CONFFILE} does not exist!" @@ -18,23 +17,19 @@ checkconfig() { start() { ebegin "Starting ${SVCNAME}" - ulimit -c unlimited start-stop-daemon --start --exec ${SVCBIN} \ --pidfile ${PIDFILE} \ -- -c ${CONFFILE} ${YADIFA_OPTS} eend $? } - stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --start --exec ${SVCBIN} \ - --pidfile ${PIDFILE} \ - eend $? + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --exec ${SVCBIN} \ + --pidfile ${PIDFILE} + eend $? } - - reload() { ebegin "Reloading ${SVCNAME}" start-stop-daemon --stop --oknodo --signal HUP \ |