| #!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