Skip to content

Instantly share code, notes, and snippets.

@casualjim
Forked from grahamedgecombe/nginx upstart script
Created November 8, 2010 14:37
Show Gist options
  • Save casualjim/667747 to your computer and use it in GitHub Desktop.
Save casualjim/667747 to your computer and use it in GitHub Desktop.
# nginx - web server
description "nginx web server"
author "Graham Edgecombe <[email protected]>"
start on runlevel [2345]
stop on runlevel [016]
expect fork
respawn
exec /opt/nginx/sbin/nginx -c /opt/nginx/conf/nginx.conf -g "daemon: off;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment