# File lib/mongrel_config/app.rb, line 28
    def get(signal)
      if _running?
        @signal = signal.upcase
        pid = open($PID_FILE) {|f| f.read }
        begin
          Process.kill(@signal, pid.to_i)
          @results = "Mongrel sent PID #{pid} signal #{@signal}."
        rescue
          puts "ERROR: #$!"
          @results = "Failed to signal the Mongrel process.  Maybe it is not running?<p>#$!</p>"
        end
      else
        @results = "Mongrel does not seem to be running.  Maybe delete the pid file #{$PID_FILE} or start again."
      end
      
      render :kill
    end