summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--salt/profile/lighttpd/init.sls5
1 files changed, 5 insertions, 0 deletions
diff --git a/salt/profile/lighttpd/init.sls b/salt/profile/lighttpd/init.sls
index 1d4f9e9..662f8f1 100644
--- a/salt/profile/lighttpd/init.sls
+++ b/salt/profile/lighttpd/init.sls
@@ -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