Skip to content

Instantly share code, notes, and snippets.

@abacha
Created January 22, 2014 12:42
Show Gist options
  • Select an option

  • Save abacha/8558094 to your computer and use it in GitHub Desktop.

Select an option

Save abacha/8558094 to your computer and use it in GitHub Desktop.
start on runlevel [2]
stop on runlevel [016]
console owner
setuid ubuntu
pre-start exec start_unicorn
post-stop exec kill `cat /var/www/bigbang/current/tmp/pids/unicorn.pid`
respawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment