Created
July 27, 2010 05:13
-
-
Save assaf/491773 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
start on runlevel [2345] | |
stop on runlevel [06] | |
chdir /var/app/current | |
exec run_bundle unicorn -c config/unicorn.rb -E production | |
post-start script | |
sleep 5 | |
rm -f /var/app/shared/system/maintenance.html | |
end script | |
post-stop exec ln -s /var/app/shared/system/_maintenance.html /var/app/shared/system/maintenance.html | |
kill timeout 5 | |
respawn | |
respawn limit 10 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment