瀏覽代碼

Removed duplicate service enabling code. "service -> enable: True" does this already, you don't need to explicitly call update-rc.d

susefix
Ross Perkins 10 年之前
父節點
當前提交
12f9ffdc1f
共有 1 個檔案被更改,包括 0 行新增6 行删除
  1. +0
    -6
      nginx/sysvinit.sls

+ 0
- 6
nginx/sysvinit.sls 查看文件

@@ -28,12 +28,6 @@ nginx-logger-{{ log_type }}:
- file: nginx-logger-{{ log_type }}
- require_in:
- service: nginx
# Not supported in os_family other than Debian
{% if grains['os_family'] == 'Debian' %}
cmd:
- wait
- name: /usr/sbin/update-rc.d nginx-logger-{{ log_type }} defaults
{% endif %}
{% endfor %}

/etc/logrotate.d/nginx:

Loading…
取消
儲存