瀏覽代碼

Merge pull request #146 from myoung34/bugfix/upstart_runlevel

Fixed runlevel on nginx upstart file
susefix
Niels Abspoel 8 年之前
父節點
當前提交
c6f230f43a
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      nginx/templates/upstart.jinja

+ 2
- 2
nginx/templates/upstart.jinja 查看文件

@@ -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…
取消
儲存