Instantly share code, notes, and snippets.

Embed
What would you like to do?
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