]> TLD Linux GIT Repositories - packages/syslog-ng.git/commitdiff
- more upstart cleanups
authorMarcin Krol <hawk@tld-linux.org>
Tue, 14 Jul 2015 20:51:32 +0000 (20:51 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 14 Jul 2015 20:51:32 +0000 (20:51 +0000)
syslog-ng.init

index 9b895a702b43fa129f98dd011262f12963cf3166..bb971159241a3a3e67fde4e8da3647eef43b0722 100755 (executable)
@@ -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
 }