about summary refs log tree commit homepage
path: root/bin/unicorn_rails
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-12-26 17:04:57 -0800
committerEric Wong <normalperson@yhbt.net>2009-12-26 17:15:11 -0800
commit5eea32764571b721cd1a89cf9ebfa853c621ac9e (patch)
tree7aae0814fe23d06945b92ee9158b3f02bbd37b4b /bin/unicorn_rails
parent643994afcdbd4121c0d131a87052cdd17d40e54f (diff)
downloadunicorn-5eea32764571b721cd1a89cf9ebfa853c621ac9e.tar.gz
This behavior change also means our grandparent (launched
from a controlling terminal or script) will wait until
the master process is ready before returning.

Thanks to IƱaki Baz Castillo for the initial implementations
and inspiration.
Diffstat (limited to 'bin/unicorn_rails')
-rwxr-xr-xbin/unicorn_rails2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/unicorn_rails b/bin/unicorn_rails
index 4a22a8c..b1458fc 100755
--- a/bin/unicorn_rails
+++ b/bin/unicorn_rails
@@ -202,6 +202,6 @@ end
 
 if daemonize
   options[:pid] = rails_pid
-  Unicorn::Launcher.daemonize!
+  Unicorn::Launcher.daemonize!(options)
 end
 Unicorn.run(app, options)