Skip to content

Instantly share code, notes, and snippets.

@fukata
Created April 8, 2013 13:23
Show Gist options
  • Save fukata/5336731 to your computer and use it in GitHub Desktop.
Save fukata/5336731 to your computer and use it in GitHub Desktop.
[program:shimapan_web]
command=bash -lc 'cd /var/app/shimapan_web/current && bundle exec unicorn_rails -c /var/app/shimapan_web/current/config/unicorn.rb -E production'
environment=PATH=/home/deploy/.rbenv/shims:/home/deploy/.rbenv/bin:/home/deploy/.rbenv/shims:/home/deploy/.rbenv/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/deploy/bin
user=deploy
numprocs=1
autostart=true
autorestar=true
logfile_maxbytes=1MB
logfile_backups=10
redirect_stderr=false
stdout_logfile=/var/log/supervisor/shimapan/web.out.log
stderr_logfile=/var/log/supervisor/shimapan/web.err.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment