anchor.diff:      local pid
   
       # First try "ps"
  -    pid=$(pgrep -fl $prog | grep -v grep | grep -v bash | cut -f1 -d" ")
  +    pid=$(pgrep -fl $exec | grep -v grep | grep -v bash | cut -f1 -d" ")
       if [ -n "$pid" ]; then
               echo $"${prog} (pid $pid) is running..."
                   return 0
  
positive.code:         echo
          return $RETVAL
      else
          pid=$(pgrep -fl $prog | grep -v grep | grep -v bash | cut -f1 -d" ")
          if [ ! "$pid" == "" ]; then
              kill $pid
              RETVAL=$?
  
negative.code: 
  # Source function library.
  . /etc/init.d/functions
  
  [ -f /etc/profile.d/ruby-enterprise.sh ] && . /etc/profile.d/ruby-enterprise.sh
  
  prog="sensu-<%= @service %>"
  
  