anchor.diff:      [ -f $SUBSYS_LOCK_FILE ] && restart || :
       ;;
     status)
  -<% if @emits_pid %>
  -    status -p "$DBPATH"/mongod.lock $DAEMON
  -<% else %>
  -    status $DAEMON
  -<% end %>
  +    status -p <%= @pidfile %> $DAEMON
       RETVAL=$?
       ;;
     *)
  
positive.code: stop()
  {
    echo -n $"Stopping <%= @provides %>: "
  <% if @emits_pid %>
    killproc -p "$DBPATH"/mongod.lock -d 300 $DAEMON
  <% else %>
    killproc -d 300 $DAEMON
  <% end %>
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && rm -f $SUBSYS_LOCK_FILE
  
negative.code: esac
  
  exit $RETVAL
  