diff --git a/haproxy/config.sls b/haproxy/config.sls index e4fa11d..f74fce6 100644 --- a/haproxy/config.sls +++ b/haproxy/config.sls @@ -6,3 +6,5 @@ haproxy.config: - user: root - group: root - mode: 644 + - watch_in: + - service: haproxy.service diff --git a/haproxy/service.sls b/haproxy/service.sls index 62d4193..7e16794 100644 --- a/haproxy/service.sls +++ b/haproxy/service.sls @@ -7,8 +7,6 @@ haproxy.service: - require: - pkg: haproxy file: haproxy.service - - watch: - - file: haproxy.config {% else %} service.dead: - name: haproxy