diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-02-21 00:55:39 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-02-21 00:55:39 +0000 |
commit | e5c2f9404a4864cadc6d01bf174a4c33c39fadc0 (patch) | |
tree | 9b8bce67c4293b6bcc7a4d94b12335e9d90d5341 /bin | |
parent | ffb373d6027cf579ff432473883b86ceb5c7df72 (diff) | |
download | unicorn-e5c2f9404a4864cadc6d01bf174a4c33c39fadc0.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@53 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'bin')
-rw-r--r-- | bin/mongrel_rails | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/mongrel_rails b/bin/mongrel_rails index ed391b1..8c3ccc5 100644 --- a/bin/mongrel_rails +++ b/bin/mongrel_rails @@ -121,6 +121,7 @@ class StartCommand < Mongrel::Command::Command server = Mongrel::HttpServer.new(@address, @port, @num_procs.to_i, @timeout.to_i) server.register("/", rails) server.run + trap("INT") { server.stop } begin puts "Server ready." |