Created
July 6, 2010 04:54
-
-
Save grantm/465025 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
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