Created
April 1, 2010 15:40
-
-
Save westphahl/351959 to your computer and use it in GitHub Desktop.
Nginx Upstart script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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