method

send_signal

send_signal(signal, pid_file)
public

No documentation available.

# File railties/lib/rails/mongrel_server/commands.rb, line 16
    def self.send_signal(signal, pid_file)
      pid = open(pid_file).read.to_i
      print "Sending #{signal} to Mongrel at PID #{pid}..."
      begin
        Process.kill(signal, pid)
      rescue Errno::ESRCH
        puts "Process does not exist.  Not running."
      end

      puts "Done."
    end