Pārlūkot izejas kodu

Fixed "no service named nginx" chkconfig error.

chkconfig was attempting to remove /etc/init.d/nginx when it did not exist.
tags/v0.55.0
CorwinTanner pirms 10 gadiem
vecāks
revīzija
51844f2820
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      nginx/package.sls

+ 1
- 1
nginx/package.sls Parādīt failu

@@ -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' %}

Notiek ielāde…
Atcelt
Saglabāt