Skip to content

Instantly share code, notes, and snippets.

@grantm
Created July 6, 2010 04:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grantm/465025 to your computer and use it in GitHub Desktop.
Save grantm/465025 to your computer and use it in GitHub Desktop.
diff --git a/lib/Starman/Server.pm b/lib/Starman/Server.pm
index bf11ed4..6f51cb8 100644
--- a/lib/Starman/Server.pm
+++ b/lib/Starman/Server.pm
@@ -31,6 +31,9 @@ sub run {
if ( $options->{pid} ) {
$extra{pid_file} = $options->{pid};
}
+ if ( $options->{log_file} ) {
+ $extra{log_file} = $options->{log_file};
+ }
if ( $options->{daemonize} ) {
$extra{setsid} = $extra{background} = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment