Browse Source

Fixed runlevel on nginx upstart file

susefix
Marcus Young 7 years ago
parent
commit
2509f0d7bf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      nginx/templates/upstart.jinja

+ 2
- 2
nginx/templates/upstart.jinja View File

@@ -3,8 +3,8 @@
description "nginx http daemon"
author "George Shammas <georgyo@gmail.com>"
start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]
start on (runlevel [345] and started network)
stop on (runlevel [!345] or stopping network)
env DAEMON=/usr/sbin/nginx

Loading…
Cancel
Save