From 62aa97e6dabcb78a4493eaf3a31178f58798d330 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 14 Jul 2015 20:51:32 +0000 Subject: [PATCH] - more upstart cleanups --- syslog-ng.init | 4 ---- 1 file changed, 4 deletions(-) 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 } -- 2.46.0