Flowdock
method

run

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: Rails::MongrelServer::Stop
run() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/mongrel_server/commands.rb, line 302
      def run
        if @force
          @wait.to_i.times do |waiting|
            exit(0) if not File.exist? @pid_file
            sleep 1
          end

          Mongrel::send_signal("KILL", @pid_file) if File.exist? @pid_file
        else
          Mongrel::send_signal("TERM", @pid_file)
        end
      end
Register or log in to add new notes.