Skip to content
Permalink
Browse files

Add explicit access and error logs for starman, and set number of wor…

…kers via wre.conf
  • Loading branch information...
perlDreamer committed Jan 1, 2012
1 parent 9cccbd2 commit 2ae6991151404f4778cfb5a82791b73b6637078f
Showing with 4 additions and 0 deletions.
  1. +3 −0 wre/lib/WRE/Starman.pm
  2. +1 −0 wre/var/setupfiles/wre.conf
@@ -119,6 +119,9 @@ sub start {
. " --port=" . $config->get("starman/port")
. " starman" #Beginning of the starman specific configurations
. " --preload=" . $config->get("webgui/root") . "/app.psgi"
. " --access-log=" . $config->getRoot("var/logs/starman.log")
. " --error-log=" . $config->getRoot("var/logs/starman_error.log")
. " --workers=" . $config->get("starman/workers")
;
`$cmd`; # catch command line output
while ($count++ < 10 && !$success) {
@@ -23,6 +23,7 @@
"connectionTimeout" : 30,
"defaultHostname" : "localhost",
"port" : 8081,
"workers" : 10
},

# nginx

0 comments on commit 2ae6991

Please sign in to comment.
You can’t perform that action at this time.