Created
March 1, 2012 21:54
-
-
Save nicolai86/1953490 to your computer and use it in GitHub Desktop.
Sample supervisord configuration file generated by foreman
This file contains hidden or 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
[program:app-unicorn] | |
command=/home/app-user/.rvm/bin/app_bundle exec unicorn -c config/unicorn.rb -E production | |
autostart=true | |
autorestart=true | |
stopsignal=QUIT | |
stdout_logfile=/home/app-user/shared/log/unicorn-1-out.log | |
stderr_logfile=/home/app-user/shared/log/unicorn-1-err.log | |
user=app-user | |
directory=/home/app-user/current | |
environment=PORT=5000,VERBOSE=0,QUEUE=*,RAILS_ENV=production | |
[program:app-worker-1] | |
command=/home/app-user/.rvm/bin/app_bundle exec rake environment resque:work | |
autostart=true | |
autorestart=true | |
stopsignal=QUIT | |
stdout_logfile=/home/app-user/shared/log/worker-1-out.log | |
stderr_logfile=/home/app-user/shared/log/worker-1-err.log | |
user=app-user | |
directory=/home/app-user/current | |
environment=PORT=5101,VERBOSE=0,QUEUE=*,RAILS_ENV=production | |
[program:app-worker-2] | |
command=/home/app-user/.rvm/bin/app_bundle exec rake environment resque:work | |
autostart=true | |
autorestart=true | |
stopsignal=QUIT | |
stdout_logfile=/home/app-user/shared/log/worker-2-out.log | |
stderr_logfile=/home/app-user/shared/log/worker-2-err.log | |
user=app-user | |
directory=/home/app-user/current | |
environment=PORT=5102,VERBOSE=0,QUEUE=*,RAILS_ENV=production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment