浏览代码

Merge pull request #22 from n-rodriguez/fix/state

fix(state): restart service when configuration has changed
tags/v0.7.3
Imran Iqbal 4 年前
父节点
当前提交
b00185a906
没有帐户链接到提交者的电子邮件
共有 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 %}

正在加载...
取消
保存