1
0
Fork 0
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:
Evan Phoenix 2016-07-24 13:56:02 -07:00
parent 8370d2eed0
commit 50ccba8a9e

View file

@ -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