浏览代码

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 }}

正在加载...
取消
保存