mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Redirect IO in the jruby daemon mode. Fixes #778
This commit is contained in:
parent
8370d2eed0
commit
50ccba8a9e
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ module Puma
|
|||
if JRubyRestart.daemon?
|
||||
# load and bind before redirecting IO so errors show up on stdout/stderr
|
||||
load_and_bind
|
||||
redirect_io
|
||||
end
|
||||
|
||||
already_daemon = JRubyRestart.daemon_init
|
||||
|
|
Loading…
Add table
Reference in a new issue