Fix for closing fds with --background
authorTomas Doran <bobtfish@bobtfish.net>
Fri, 2 Mar 2012 20:23:07 +0000 (20:23 +0000)
committerTomas Doran <bobtfish@bobtfish.net>
Fri, 2 Mar 2012 20:23:07 +0000 (20:23 +0000)
commitdf894348b6f8e0bea1b3d0576aad28027ee930df
treef8d6ff5c5ffb3af4dced8f1f41ca1a24ce12dd37
parenta8946dc8b4ba4c46b4db564b8f9692d48cc7a62f
Fix for closing fds with --background

As web load the app (and therefore setup file loggers) before
we use MX::Daemonize, it's closing stuff clobbers everything.
Therefore we just close STDIN/STDOUT/STDERR, leaving anything
the user has setup.
Changes
lib/Catalyst/Script/Server.pm
t/author/podcoverage.t