Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 3a1fc35

Browse files
committed
fix(running.sls): use watch not require to ensure service restart
* Service isn't restarted if the config file changes * Made aware of this in the `keepalived-formula`, which was updated to this `template-formula` structure - saltstack-formulas/keepalived-formula#37 - saltstack-formulas/keepalived-formula#41 * May need to reconsider: should we really be watching the whole `sls` rather than explictly watching each state?
1 parent f48a727 commit 3a1fc35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TEMPLATE/service/running.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ TEMPLATE-service-running-service-running:
1313
service.running:
1414
- name: {{ TEMPLATE.service.name }}
1515
- enable: True
16-
- require:
16+
- watch:
1717
- sls: {{ sls_config_file }}

0 commit comments

Comments
 (0)