]> git.pld-linux.org Git - packages/syslog-ng.git/commitdiff
- emit started/stopped with --no-wait to prevent lock-ups on simple configuration...
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 10 May 2010 12:18:23 +0000 (12:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    syslog-ng.init -> 1.30

syslog-ng.init

index 63f8f67d8f22e64bf9a90477914851dbe88a3bfa..ba07012abb07764f90c41ade1ca7e38f6ce00111 100644 (file)
@@ -44,7 +44,7 @@ start() {
                msg_starting "syslog-ng"
                emit starting JOB=syslog-ng SERVICE=syslog
                daemon /usr/sbin/syslog-ng -f /etc/syslog-ng/syslog-ng.conf $OPTIONS
-               emit started JOB=syslog-ng SERVICE=syslog
+               emit --no-wait started JOB=syslog-ng SERVICE=syslog
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/syslog-ng
        else
@@ -57,7 +57,7 @@ stop() {
                msg_stopping "syslog-ng"
                emit stopping JOB=syslog-ng SERVICE=syslog
                killproc syslog-ng
-               emit stopped JOB=syslog-ng SERVICE=syslog
+               emit --no-wait stopped JOB=syslog-ng SERVICE=syslog
                rm -f /var/lock/subsys/syslog-ng >/dev/null 2>&1
        else
                msg_not_running "syslog-ng"
This page took 0.073249 seconds and 4 git commands to generate.