exit with failure if master dies when daemonized
commit5eea32764571b721cd1a89cf9ebfa853c621ac9e
authorEric Wong <normalperson@yhbt.net>
Sun, 27 Dec 2009 01:04:57 +0000 (26 17:04 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 27 Dec 2009 01:15:11 +0000 (26 17:15 -0800)
tree7aae0814fe23d06945b92ee9158b3f02bbd37b4b
parent643994afcdbd4121c0d131a87052cdd17d40e54f
exit with failure if master dies when daemonized

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.
bin/unicorn
bin/unicorn_rails
lib/unicorn.rb
lib/unicorn/launcher.rb
test/exec/test_exec.rb