浏览代码

fix(state): restart service when configuration has changed

tags/v0.7.3
Nicolas Rodriguez 4 年前
父节点
当前提交
e098871f0b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      apt-cacher/ng/server/service/running.sls

+ 2
- 1
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 %}

正在加载...
取消
保存