CrunchBang Linux Pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

CrunchBang Linux Pastebin

Posted by homelinen on Tue 4th Dec 16:18 (modification of post by view diff)
View followups from homelinen | download | new post

  1. # /etc/conf.d/syslog-ng
  2.  
  3. # passed to syslog-ng at startup
  4.  SYSLOG_NG_OPTS=(–-no-caps)
  5.  
  6. # passed to syslog-ng on config check
  7. SYSLOG_NG_CHECKOPTS=(–-no-caps)
  8.  
  9.  
  10. # /etc/rc.d/syslog-ng
  11.  
  12. case $1 in
  13.   start)
  14.     stat_busy "Starting Syslog-NG"
  15.     echo "Not checking config"
  16.     checkconfig
  17.   if [[ -z $PID ]] && $(/usr/sbin/syslog-ng "${SYSLOG_NG_OPTS[@]}"); then     
  18.       add_daemon syslog-ng
  19.       stat_done
  20.     else 
  21.       stat_fail
  22.       exit 1
  23.     fi   
  24.     ;;

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.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me