1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Detect when the jruby daemon child doesn't start properly

This commit is contained in:
Evan Phoenix 2013-07-11 11:46:18 -07:00
parent ebe5f42dab
commit 86b7d9718d

View file

@ -55,6 +55,11 @@ module Puma
exit
end
Signal.trap "SIGCHLD" do
log "! Error starting new process as daemon, exitting"
exit 1
end
pid = @cli.jruby_daemon_start
sleep
end