| start on starting domain.com-resque_worker | |
| stop on stopping domain.com-resque_worker | |
| respawn | |
| exec su - nick -c 'cd /data/web/domain.com/production/current/config/foreman_procfiles; export PORT=5000; RAILS_ENV=production bundle exec rake resque:work VERBOSE=1 QUEUE=* >> /data/web/domain.com/production/shared/log/resque_worker-1.log 2>&1' |
| start on starting domain.com | |
| stop on stopping domain.com |
| pre-start script | |
| bash << "EOF" | |
| mkdir -p /data/web/domain.com/production/shared/log | |
| chown -R nick /data/web/domain.com/production/shared/log | |
| EOF | |
| end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment