Skip to content

Instantly share code, notes, and snippets.

@vkgtaro
Created December 17, 2011 08:30
Show Gist options
  • Select an option

  • Save vkgtaro/1489683 to your computer and use it in GitHub Desktop.

Select an option

Save vkgtaro/1489683 to your computer and use it in GitHub Desktop.
plack app on supervisor
[program:hoge]
directory=/home/hoge/hoge
command=/home/hoge/perl5/perlbrew/perls/perl-5.14.2/bin/plackup bin/app.psgi
user=hoge
stdout_logfile_maxbytes=1MB
stderr_logfile_maxbytes=1MB
stdout_logfile=/var/log/%(program_name)s.log
stderr_logfile=/var/log/%(program_name)s.log
autorestart=true
environment=PATH=/home/hoge/perl5/perlbrew/bin:/home/hoge/perl5/perlbrew/perls/perl-5.14.2/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hoge/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment