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:
parent
8960a90506
commit
56084e0967
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue