anchor.diff:  exit 2
   esac
   
  -exit $?
  +exit $?
positive.code:         exit 1
      fi
  
      su $user -c "$exec -c $config $options >/dev/null 2>&1 &"
      RETVAL=$?
      sleep 1
  
      if [ $RETVAL -eq 0 ]; then
          touch $lockfile
          pid=$(pgrep -fl $prog | grep -v grep | grep -v bash | cut -f1 -d" ")
          echo $pid > $pidfile
      fi
      echo
      return $RETVAL
  }
  
  stop() {
      STRING=$"Stopping $prog: "
      echo -n $STRING
  
      if [ -f $pidfile ]; then
          killproc -p $pidfile $prog
          RETVAL=$?
  
negative.code: 
  user=${SENSU_USER-<%= node.sensu.user %>}
  config=${CONFIG-<%= node.sensu.directory %>/config.json}
  exec=${EXEC-<%= Sensu.find_bin(@service) %>}
  logfile=${LOGFILE-/var/log/sensu/$prog.log}
  pidfile=${PIDFILE-/var/run/sensu/$prog.pid}
  lockfile=${LOCKFILE-/var/lock/subsys/$prog}
  options=${OPTIONS}
  
  ensure_pid_dir () {
      pid_dir=`dirname ${pidfile}`
      if [ ! -d ${pid_dir} ] ; then
          mkdir -p ${pid_dir}
          chown -R ${user} ${pid_dir}
          chmod 755 ${pid_dir}
      fi
  }
  
  start() {
      echo -n $"Starting $prog: "
  
      [ -x $exec ] || exit 5
  
      status &> /dev/null
  
  