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

Difference between
modified post 1942 by homelinen on Tue 4th Dec 16:21 and
original post 1941 by homelinen on Tue 4th Dec 16:18
Show old version | new version | both versions

    
11
# /etc/conf.d/syslog-ng
33
# passed to syslog-ng at startup
44
 SYSLOG_NG_OPTS=(–-no-caps)
66
# passed to syslog-ng on config check
77
SYSLOG_NG_CHECKOPTS=(–-no-caps)
1010
# /etc/rc.d/syslog-ng
1212
case $1 in
1313
  start)
1414
    stat_busy "Starting Syslog-NG"
1515
    echo "Not checking config"
1616
    checkconfig
17-
  if [[ -z $PID ]] && $(/usr/sbin/syslog-ng "${SYSLOG_NG_OPTS[@]}"); then
17+
  if [[ -z $PID ]] && /usr/sbin/syslog-ng "${SYSLOG_NG_OPTS[@]}"; then
1818
      add_daemon syslog-ng
1919
      stat_done
2020
    else
2121
      stat_fail
2222
      exit 1
2323
    fi
2424
    ;;

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me