Przeglądaj źródła

fix(state): restart service when configuration has changed

tags/v0.7.3
Nicolas Rodriguez 4 lat temu
rodzic
commit
e098871f0b
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      apt-cacher/ng/server/service/running.sls

+ 2
- 1
apt-cacher/ng/server/service/running.sls Wyświetl plik

@@ -18,9 +18,10 @@ apt-cacher/ng/server/service/running:
service.running:
- name: {{ apt_cacher_ng.service }}
- enable: true
- require:
- watch:
- sls: {{ sls_config_file }}
{%- if 'require' in apt_cacher_ng %}
- require:
{%- for require in apt_cacher_ng.require %}
- {{ require }}
{%- endfor %}

Ładowanie…
Anuluj
Zapisz