瀏覽代碼

fix: replace require completely with watch to ensure service restart

Co-authored-by: Imran Iqbal <myii@users.noreply.github.com>
pull/36/head
Severin Schols 3 年之前
父節點
當前提交
270250f28d
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. +1
    -3
      chrony/service/running.sls

+ 1
- 3
chrony/service/running.sls 查看文件

@@ -13,7 +13,5 @@ chrony-service-running-service-running:
service.running:
- name: {{ chrony.service.name }}
- enable: True
- require:
- sls: {{ sls_config_file }}
- watch:
- file: chrony-config-file-file-managed
- sls: {{ sls_config_file }}

Loading…
取消
儲存