瀏覽代碼

Merge pull request #67 from CorwinTanner/patch-1

Fixed "no service named nginx" chkconfig error.
tags/v0.55.0
Nitin Madhok 10 年之前
父節點
當前提交
5cad45126e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      nginx/package.sls

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

@@ -45,7 +45,7 @@ nginx-old-init-disable:
- name: {{ nginx.old_init_disable }}
- require{{ _in }}:
- module: nginx-old-init
- unless: [ ! -f /etc/init.d/nginx ]
- onlyif: [ -f /etc/init.d/nginx ]
{% endif %}

{% if grains.get('os_family') == 'Debian' %}

Loading…
取消
儲存