瀏覽代碼

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

fix(state): restart service when configuration has changed
tags/v0.5.6
Nicolas Rodriguez 4 年之前
父節點
當前提交
275dfc8032
沒有連結到貢獻者的電子郵件帳戶。
共有 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…
取消
儲存