Created
February 15, 2013 00:05
-
-
Save yuuki/4957550 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
#!/bin/sh | |
exec 2>&1 | |
exec /usr/bin/setuidgid growthforecast multilog t /etc/service/growthforecast/log/main |
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
#!/bin/sh | |
exec 2>&1 | |
export PERL_PATH=/home/growthforecast/perl5/perlbrew/perls/perl-5.14.3/bin/perl | |
export PLACK_ENV=production | |
export GROWTHFORECAST_ACCESS_LOG=/var/log/growthforecast_access_log | |
export GROWTHFORECAST_ERROR_LOG=/var/log/growthforecast_error_log | |
source /home/growthforecast/perl5/perlbrew/etc/bashrc | |
exec $PERL_PATH /home/growthforecast/perl5/perlbrew/perls/perl-5.14.3/bin/growthforecast.pl --data-dir /home/growthforecast/growthforecast --port 80 -- \ | |
setuidgid growthforecast |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment