nginx/package: add onlyif requisite to nginx-old-init

This commit is contained in:
Skoobie 2016-12-01 16:52:43 -05:00 committed by Penny
parent 545944cf7f
commit 571eb2908d

View 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'] %}