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() {
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
}