Skip to content

Instantly share code, notes, and snippets.

@grahamedgecombe
Created May 22, 2010 16:19
Show Gist options
  • Save grahamedgecombe/410183 to your computer and use it in GitHub Desktop.
Save grahamedgecombe/410183 to your computer and use it in GitHub Desktop.
upstart configuration file for nginx.
# 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