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