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

4 commits

Author SHA1 Message Date
Evan Phoenix
399c166516 Keep STDOUT/STDERR the right mode. Fixes #422
If you reopen STDOUT with an IO object that is "w+", then later reopen
it again as just "w", you get an exception:

`reopen': /dev/null can't change access mode from "w+" to "w" (ArgumentError)
2013-12-05 09:51:39 -08:00
Evan Phoenix
775534c1e1 Always use our Process.daemon because it's not busted 2013-11-20 15:05:51 -08:00
Evan Phoenix
514928a11b Fix daemonization on jruby 2013-06-19 16:16:15 -07:00
Evan Phoenix
4d77ce8347 Add options to daemonize puma
Previously I was opposed to these options because I felt like puma
should always be run under another monitoring process. But after doing
some thinking (and some deployment of puma) I realized that the daemon
option is simply too useful to not include.

I highly suggest it be used with -w, so that if a worker crashes the
whole server doesn't mysteriously disappear.
2012-09-25 09:34:10 -07:00