Skip to content

Instantly share code, notes, and snippets.

@vdv
Created November 28, 2013 18:26
Show Gist options
  • Save vdv/7696337 to your computer and use it in GitHub Desktop.
Save vdv/7696337 to your computer and use it in GitHub Desktop.
upstart config for unicorn
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