Merge pull request #146 from myoung34/bugfix/upstart_runlevel
Fixed runlevel on nginx upstart file
This commit is contained in:
commit
c6f230f43a
@ -3,8 +3,8 @@
|
|||||||
description "nginx http daemon"
|
description "nginx http daemon"
|
||||||
author "George Shammas <georgyo@gmail.com>"
|
author "George Shammas <georgyo@gmail.com>"
|
||||||
|
|
||||||
start on (filesystem and net-device-up IFACE=lo)
|
start on (runlevel [345] and started network)
|
||||||
stop on runlevel [!2345]
|
stop on (runlevel [!345] or stopping network)
|
||||||
|
|
||||||
env DAEMON=/usr/sbin/nginx
|
env DAEMON=/usr/sbin/nginx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user