lighttpd: improve dependencies
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful

- add more explicit Salt ID dependencies
- reload service on configuration changes

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-02-12 03:03:09 +01:00
parent 5da0bfe798
commit 9a0c210b87
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -25,6 +25,8 @@ lighttpd_files:
- group: lighttpd
- mode: '0640'
- template: jinja
- watch_in:
- service: lighttpd_service
- names:
- /etc/lighttpd/lighttpd.conf:
- source: salt:///{{ slspath }}/files/etc/lighttpd/lighttpd.conf.j2
@ -40,3 +42,6 @@ lighttpd_service:
service.running:
- name: lighttpd.service
- enable: True
- reload: True
- require:
- pkg: lighttpd_packages