瀏覽代碼

nginx/package: add onlyif requisite to nginx-old-init

tags/v0.55.0
Skoobie 8 年之前
父節點
當前提交
571eb2908d
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      nginx/package.sls

+ 1
- 0
nginx/package.sls 查看文件

@@ -28,6 +28,7 @@ nginx-old-init:
- file: nginx-old-init
- require_in:
- file: nginx
- onlyif: [ -e /var/run/nginx.pid ]

# RedHat requires the init file in place to chkconfig off
{% if nginx['disable_before_rename'] %}

Loading…
取消
儲存