diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/mongrel_rails | 8 | ||||
-rw-r--r-- | bin/mongrel_rails_service | 8 |
2 files changed, 11 insertions, 5 deletions
diff --git a/bin/mongrel_rails b/bin/mongrel_rails index 0b48b1f..e66d99e 100644 --- a/bin/mongrel_rails +++ b/bin/mongrel_rails @@ -121,7 +121,13 @@ class Start < GemPlugin::Plugin "/commands" begin # start mongrel processing thread server.run - STDERR.puts "Server ready." + + if RUBY_PLATFORM !~ /mswin/ + puts "Server Ready. Use CTRL-C to quit." + else + puts "Server Ready. Use CTRL-Pause/Break to quit." + end + server.acceptor.join rescue Interrupt STDERR.puts "Interrupted." diff --git a/bin/mongrel_rails_service b/bin/mongrel_rails_service index 79fecdb..dd6c32b 100644 --- a/bin/mongrel_rails_service +++ b/bin/mongrel_rails_service @@ -30,7 +30,7 @@ module GenericCommand end
end
-class Install < Mongrel::Plugin "/commands"
+class Install < GemPlugin::Plugin "/commands"
include Mongrel::Command::Base
# Default every option to nil so only the defined ones get passed to service
@@ -174,7 +174,7 @@ class Install < Mongrel::Plugin "/commands" end
end
-class Delete < Mongrel::Plugin "/commands"
+class Delete < GemPlugin::Plugin "/commands"
include Mongrel::Command::Base
include GenericCommand
@@ -193,7 +193,7 @@ class Delete < Mongrel::Plugin "/commands" end
end
-class Start < Mongrel::Plugin "/commands"
+class Start < GemPlugin::Plugin "/commands"
include Mongrel::Command::Base
include GenericCommand
@@ -218,7 +218,7 @@ class Start < Mongrel::Plugin "/commands" end
end
-class Stop < Mongrel::Plugin "/commands"
+class Stop < GemPlugin::Plugin "/commands"
include Mongrel::Command::Base
include GenericCommand
|