Skip to content

Instantly share code, notes, and snippets.

@westphahl
Created April 1, 2010 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save westphahl/351959 to your computer and use it in GitHub Desktop.
Save westphahl/351959 to your computer and use it in GitHub Desktop.
Nginx Upstart script
# file: /etc/event.d/nginx
description "Nginx HTTP server"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
exec /usr/sbin/nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment