about summary refs log tree commit homepage
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/mongrel_rails1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/mongrel_rails b/bin/mongrel_rails
index 46c4dad..b6ba92f 100644
--- a/bin/mongrel_rails
+++ b/bin/mongrel_rails
@@ -143,6 +143,7 @@ class Start < GemPlugin::Plugin "/commands"
     config.run
     config.log "Mongrel available at #{settings[:host]}:#{settings[:port]}"
     config.log "Use CTRL-C to stop." if not @daemon
+    config.write_pid_file
     config.join
 
     if config.needs_restart