Created
November 8, 2010 15:10
-
-
Save casualjim/667785 to your computer and use it in GitHub Desktop.
Nginx upstart script
This file contains hidden or 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
# nginx - web server | |
description "nginx web server" | |
author "Ivan Porto Carrero" | |
start on (net-device-up and local-filesystems) | |
stop on runlevel [016] | |
expect fork | |
respawn | |
exec sudo /usr/local/sbin/nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment