Skip to content

Instantly share code, notes, and snippets.

@andykent
Created April 18, 2011 14:31
Show Gist options
  • Save andykent/925458 to your computer and use it in GitHub Desktop.
Save andykent/925458 to your computer and use it in GitHub Desktop.
Nginx Upstart
description "nginx http daemon"
start on runlevel [2]
stop on runlevel [016]
console owner
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