Skip to content

Instantly share code, notes, and snippets.

@ianlevesque
Created June 8, 2010 17:35
Show Gist options
  • Save ianlevesque/430365 to your computer and use it in GitHub Desktop.
Save ianlevesque/430365 to your computer and use it in GitHub Desktop.
# upstart script for nginx
description "nginx"
start on (net-device-up and local-filesystems)
stop on runlevel [016]
expect fork
respawn
exec /opt/nginx/sbin/nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment