Created
June 2, 2009 20:47
-
-
Save jshirley/122569 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: lib/Catalyst/Engine/HTTP/Prefork.pm | |
=================================================================== | |
--- lib/Catalyst/Engine/HTTP/Prefork.pm (revision 10421) | |
+++ lib/Catalyst/Engine/HTTP/Prefork.pm (working copy) | |
@@ -45,6 +45,9 @@ | |
max_servers => $options->{max_servers} || 50, | |
max_requests => $options->{max_requests} || 1000, | |
leave_children_open_on_hup => $options->{restart_graceful} || 0, | |
+ | |
+ defined $options->{pidfile} ? | |
+ ( pid_file => $options->{pidfile} : () ), | |
); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment