From: Marcin Krol Date: Tue, 14 Jul 2015 20:51:32 +0000 (+0000) Subject: - more upstart cleanups X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=62aa97e6dabcb78a4493eaf3a31178f58798d330;p=packages%2Fsyslog-ng.git - more upstart cleanups --- diff --git a/syslog-ng.init b/syslog-ng.init index 9b895a7..bb97115 100755 --- a/syslog-ng.init +++ b/syslog-ng.init @@ -60,11 +60,9 @@ start() { fi msg_starting "syslog-ng" - emit starting JOB=syslog-ng SERVICE_syslog=y daemon @@SBINDIR@@/syslog-ng -f /etc/syslog-ng/syslog-ng.conf --worker-threads=1024 $OPTIONS RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/syslog-ng - emit --no-wait started JOB=syslog-ng SERVICE_syslog=y } stop() { @@ -74,9 +72,7 @@ stop() { fi msg_stopping "syslog-ng" - emit stopping JOB=syslog-ng SERVICE_syslog=y killproc syslog-ng - emit --no-wait stopped JOB=syslog-ng SERVICE_syslog=y rm -f /var/lock/subsys/syslog-ng >/dev/null 2>&1 }