Skip to content

Instantly share code, notes, and snippets.

@w1150n
Last active August 31, 2015 22:21
Show Gist options
  • Save w1150n/ee637805253dc423c528 to your computer and use it in GitHub Desktop.
Save w1150n/ee637805253dc423c528 to your computer and use it in GitHub Desktop.
Resque Pool Upstart Script
# manages resque-pool, which in turn manages a collection of resque workers
start on runlevel [2345]
stop on runlevel [!2345]
respawn
env TERM_CHILD=1
kill timeout 60
chdir /usr/local/member/current
exec /usr/local/rvm/wrappers/ruby-2.1.2@yerapp/bundle exec resque-pool -i -E production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment