Created
February 23, 2012 07:53
-
-
Save zmalltalker/1891397 to your computer and use it in GitHub Desktop.
Very simple upstart script for Unicorn
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
chdir /var/www/rails_apps/the_one | |
env RAILS_ENV=production | |
exec /usr/bin/bundle exec unicorn_rails -c config/unicorn.rb | |
respawn | |
# This start on stanza works, but it's simplistic | |
# Will add a stop on stanza once I make up my mind about stop on | |
start on runlevel [3] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment