Skip to content

Instantly share code, notes, and snippets.

@thattommyhall
Forked from andykent/gist:925458
Created May 3, 2011 14:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thattommyhall/953400 to your computer and use it in GitHub Desktop.
Save thattommyhall/953400 to your computer and use it in GitHub Desktop.
Nginx Upstart
description "nginx http daemon"
start on runlevel [2345]
stop on runlevel [!2345]
exec /opt/nginx/sbin/nginx -g "daemon off;"
respawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment