Skip to content

Commit

Permalink
fix(running.sls): use watch not require to ensure service restart
Browse files Browse the repository at this point in the history
* fix (service): reload telegraf if config file was changed

fixes #5
  • Loading branch information
herbetom authored Apr 30, 2020
1 parent ecf0fff commit 861e17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegraf/service/running.sls
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ telegraf/service/running:
service.running:
- name: {{ telegraf.service.name }}
- enable: True
- require:
- watch:
- sls: {{ sls_config_file }}

0 comments on commit 861e17e

Please sign in to comment.