Last active
August 31, 2015 22:21
-
-
Save w1150n/ee637805253dc423c528 to your computer and use it in GitHub Desktop.
Resque Pool Upstart Script
This file contains 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
# 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