anchor.diff:  # chkconfig: 345 90 5
   # description: Runs remote_syslog2
   #
  -# processname: remote_syslog2
  +# processname: "<%= node['remote_syslog2']['install']['bin'] %>"
   
   prog="<%= node['remote_syslog2']['install']['bin'] %>"
   config="<%= node['remote_syslog2']['config_file'] %>"
  
positive.code:     unset HOME MAIL USER USERNAME
      $prog -c $config --pid-file=$pid_file $EXTRAOPTIONS
      RETVAL=$?
      echo
      return $RETVAL
  }
  
  stop(){
  
negative.code:     if (is_running); then
        kill `cat $pid_file`
        RETVAL=$?
        echo $RETVAL
        [ $RETVAL -eq 0 ] && [ -e "$pid_file" ] && rm -f $pid_file
      else
        echo "$pid_file not found"
      fi
  }
  
  status(){
      if (is_running); then
        echo "remote_syslog2 start/running, process $(cat $pid_file)"
      else
        echo "remote_syslog2 stop/waiting"
      fi
  }
  
  