From 0490489614ef1374dadce88c734b8dadfe701f5f Mon Sep 17 00:00:00 2001 From: Ricardo Klein Date: Tue, 7 Apr 2020 15:15:36 +0200 Subject: [PATCH] fix(service): restart service if config changes * fixes #37 --- keepalived/service/running.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keepalived/service/running.sls b/keepalived/service/running.sls index 40a2ffc..305ead5 100644 --- a/keepalived/service/running.sls +++ b/keepalived/service/running.sls @@ -13,5 +13,5 @@ keepalived-service-running-service-running: service.running: - name: {{ keepalived.service.name }} - enable: True - - require: + - watch: - sls: {{ sls_config_file }}