Last active
January 2, 2016 16:49
-
-
Save brendon/8332688 to your computer and use it in GitHub Desktop.
delayed_job upstart configuration (No Hacks) - Ubuntu 12.04 LTE
This file contains hidden or 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
description "Delayed Job Server" | |
author "Brendon Muir" | |
setuid www-data | |
setgid www-data | |
start on started mysql | |
stop on stopping mysql | |
respawn | |
chdir /path/to/your/app/current | |
env RAILS_ENV=production | |
nice 15 | |
exec /opt/ruby-enterprise/bin/ruby script/delayed_job run >> /path/to/your/app/shared/log/delayed_job.log 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment