-
-
Save grahamc/96512f0ef329d5b022e4 to your computer and use it in GitHub Desktop.
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
#!upstart | |
description "A Single Integrity DJ Worker" | |
start on mysql | |
stop on mysql | |
chdir /var/lib/integrity/integrity | |
respawn | |
respawn limit 30 60 | |
setuid integrity | |
setgid integrity | |
script | |
sleep 3 | |
/var/lib/integrity/integrity/bin/rake jobs:work 2>&1 >> /var/log/integrity-worker.log | |
end script | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment