anchor.diff:        log_end_msg $errcode
       fi
       ;;
  +  run)
  +    if running; then
  +      log_daemon_msg "Triggering run of $DESC" "$NAME"
  +      errcode=0
  +      run_server || errcode=$?
  +      log_end_msg $errcode
  +    fi
  +    ;;
     *)
       N=/etc/init.d/$NAME
  -    echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2
  +    echo "Usage: $N {start|stop|force-stop|restart|force-reload|status|run}" >&2
       exit 1
       ;;
   esac
  
positive.code:      errcode=$?
     else
       start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE \
         --user $DAEMONUSER \
         --exec $DAEMON
       errcode=$?
  
negative.code:   mkdir /var/run/chef
  fi
  
  DAEMON_OPTS="-d -P $PIDFILE -c $CONFIG -i $INTERVAL -s $SPLAY <%= node["chef_client"]["daemon_options"].join(' ') %>"
  
  if [ ! -z $LOGFILE ]; then
    DAEMON_OPTS="${DAEMON_OPTS} -L $LOGFILE"
  fi
  
  running_pid() {
    pid=$1
    name=$2
    [ -z "$pid" ] && return 1
    [ ! -d /proc/$pid ] &&  return 1
    cmd=`cat /proc/$pid/cmdline | tr '\000' '\n' | awk 'NR==2'`
    [ "$cmd" != "$name" ] &&  return 1
    return 0
  }
  