Bladeren bron

change service watch to listen so it will only trigger a refresh of nginx service and the end of the state run

tags/v0.55.0
Niels Abspoel 8 jaren geleden
bovenliggende
commit
ce2024df4b
3 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. +1
    -1
      nginx/ng/init.sls
  2. +1
    -1
      nginx/ng/servers.sls
  3. +1
    -1
      nginx/ng/service.sls

+ 1
- 1
nginx/ng/init.sls Bestand weergeven

@@ -13,7 +13,7 @@ include:
extend:
nginx_service:
service:
- watch:
- listen:
- file: nginx_config
- require:
- file: nginx_config

+ 1
- 1
nginx/ng/servers.sls Bestand weergeven

@@ -23,7 +23,7 @@ nginx_service_reload:
- reload: True
- use:
- service: nginx_service
- watch:
- listen:
{{ file_requisites(server_states) }}
- require:
{{ file_requisites(server_states) }}

+ 1
- 1
nginx/ng/service.sls Bestand weergeven

@@ -30,7 +30,7 @@ nginx_service:
{% else %}
- sls: nginx.ng.pkg
{% endif %}
- watch:
- listen:
{% if nginx.install_from_source %}
- cmd: nginx_install
{% else %}

Laden…
Annuleren
Opslaan