Pārlūkot izejas kodu
Merge pull request #22 from n-rodriguez/fix/state
fix(state): restart service when configuration has changed
tags/v0.7.3
Imran Iqbal
pirms 4 gadiem
vecāks
revīzija
b00185a906
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar
2 papildinājumiem un
1 dzēšanām
-
apt-cacher/ng/server/service/running.sls
|
|
@@ -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 %} |