Posted by homelinen on Tue 4th Dec 16:21 (modification of post by homelinen view diff)
View followups from homelinen | diff | download | new post
- # /etc/conf.d/syslog-ng
- # passed to syslog-ng at startup
- SYSLOG_NG_OPTS=(–-no-caps)
- # passed to syslog-ng on config check
- SYSLOG_NG_CHECKOPTS=(–-no-caps)
- # /etc/rc.d/syslog-ng
- case $1 in
- start)
- stat_busy "Starting Syslog-NG"
- echo "Not checking config"
- checkconfig
- if [[ -z $PID ]] && /usr/sbin/syslog-ng "${SYSLOG_NG_OPTS[@]}"; then
- add_daemon syslog-ng
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.