Sfoglia il codice sorgente

Merge pull request #140 from scub/nginx_old_init_onlyif_exists

nginx/package: add onlyif requisite to nginx-old-init
susefix
Forrest 8 anni fa
parent
commit
a59ca4c26c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      nginx/package.sls

+ 1
- 0
nginx/package.sls Vedi File

@@ -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…
Annulla
Salva