Created
November 28, 2013 18:26
-
-
Save vdv/7696337 to your computer and use it in GitHub Desktop.
upstart config for unicorn
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 "My Application" | |
start on runlevel [2] | |
stop on runlevel [016] | |
console log | |
setuid deployer | |
chdir /home/deployer/my_app/current | |
exec /home/deployer/my_app/current/config/unicorn/unicorn_wrapper -c /home/deployer/my_app/current/config/unicorn/unicorn.rb -E production | |
respawn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment