Explorar o código

icinga2: Restart icinga2 after changing the unit file

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm %!s(int64=3) %!d(string=hai) anos
pai
achega
0f7a896f4c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      icinga2/init.sls

+ 2 - 0
icinga2/init.sls

@@ -37,6 +37,8 @@ systemd-reload:
     - name: systemctl daemon-reload
     - watch:
       - file: /etc/systemd/system/icinga2.service.d/override.conf
+    - watch_in:
+      - service: icinga2
 
 # Install plugins (official + our own)
 monitoring-plugin-pkgs: