瀏覽代碼

fix(state): restart service when configuration has changed

tags/v0.5.6
Nicolas Rodriguez 4 年之前
父節點
當前提交
6de4e9ab7b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      ufw/service/running.sls

+ 2
- 2
ufw/service/running.sls 查看文件

@@ -15,7 +15,7 @@ ufw-service-running-service-running:
service.running:
- name: {{ ufw.service.name }}
- enable: true
- require:
- watch:
- sls: {{ sls_config_file }}

{%- else %}
@@ -24,7 +24,7 @@ ufw-service-dead-service-dead:
service.dead:
- name: {{ ufw.service.name }}
- enable: false
- require:
- watch:
- sls: {{ sls_config_file }}

{%- endif %}

Loading…
取消
儲存