From 918342bc149e3df12923368b1e529815b367ca81 Mon Sep 17 00:00:00 2001 From: zedshaw Date: Fri, 3 Mar 2006 02:48:46 +0000 Subject: Small tweak to make sure the stop gets through. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@70 19e92222-5c0b-0410-8929-a290d50e31e9 --- bin/mongrel_rails | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/mongrel_rails b/bin/mongrel_rails index c78895d..2b363bd 100644 --- a/bin/mongrel_rails +++ b/bin/mongrel_rails @@ -18,7 +18,7 @@ class Start < Mongrel::Plugin "/commands" ['-m', '--mime PATH', "A YAML file that lists additional MIME types", :@mime_map, nil], ['-c', '--chdir PATH', "Change to dir before starting (will be expanded)", :@cwd, Dir.pwd], ['-r', '--root PATH', "Set the document root (default 'public')", :@docroot, "public"], - ['-L', '--load PATH', "Loads plugins from the given directory", :@load_from, nil] + ['-L', '--load PATH', "Loads plugins from the given directory", :@load_from, nil], ] end @@ -85,7 +85,6 @@ class Start < Mongrel::Plugin "/commands" def start_mongrel(rails) @restart = false - # start up mongrel with the right configurations server = Mongrel::HttpServer.new(@address, @port, @num_procs.to_i, @timeout.to_i) server.register("/", rails) server.run -- cgit v1.2.3-24-ge0c7