Skip to content

Instantly share code, notes, and snippets.

@willwhite
Created February 10, 2011 16:08
Show Gist options
  • Save willwhite/820784 to your computer and use it in GitHub Desktop.
Save willwhite/820784 to your computer and use it in GitHub Desktop.
nginx upstart configuration from http://wiki.nginx.org/Upstart
description "nginx http daemon"
start on runlevel [2]
stop on runlevel [016]
console owner
exec /usr/local/sbin/nginx -c /path/to/nginx.conf -g "daemon off;"
respawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment