Permalink
Browse files

Fix up upstart config for starman server

  • Loading branch information...
1 parent d18ee55 commit 0180aace2f927ef5113ba558fb29b9b4f5a8d2fd @autarch autarch committed Feb 17, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 system/etc/init/vegguide-starman
View
5 system/etc/init/vegguide-starman
@@ -9,6 +9,9 @@ limit as 524288000 524288000
pre-start script
mkdir -p /var/run/vegguide
chown www-data:www-data /var/run/vegguide
+
+ mkdir -p /var/log/vegguide
+ chown www-data:www-data /var/log/vegguide
end script
-/opt/perl5.14.2-no-threads/bin/starman --listen 127.0.0.1:8088 --workers 12 --preload-app VegGuide --user www-data --group www-data
+/opt/perl5.14.2-no-threads/bin/starman --listen 127.0.0.1:8088 --workers 12 --preload-app --user www-data --group www-data /opt/perl5.14.2-no-threads/bin/vegguide.psgi 2> /var/log/vegguide/error.log

0 comments on commit 0180aac

Please sign in to comment.