Skip to content

Instantly share code, notes, and snippets.

@jshirley
Created June 2, 2009 20:47
Show Gist options
  • Save jshirley/122569 to your computer and use it in GitHub Desktop.
Save jshirley/122569 to your computer and use it in GitHub Desktop.
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