Browse Source

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

tags/v0.55.0
Ross Perkins 10 years ago
parent
commit
12f9ffdc1f
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      nginx/sysvinit.sls

+ 0
- 6
nginx/sysvinit.sls View File

- file: nginx-logger-{{ log_type }} - file: nginx-logger-{{ log_type }}
- require_in: - require_in:
- service: nginx - 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 %} {% endfor %}


/etc/logrotate.d/nginx: /etc/logrotate.d/nginx:

Loading…
Cancel
Save