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

Load the app in the daemon because it might start threads. Fixes #607

This commit is contained in:
Evan Phoenix 2014-11-24 11:46:32 -08:00
parent 8960a90506
commit 56084e0967

View file

@ -70,12 +70,12 @@ module Puma
sleep
end
else
load_and_bind
if daemon?
log "* Daemonizing..."
Process.daemon(true)
end
load_and_bind
end
@cli.write_state