Browse Source

icinga2: Restart icinga2 after changing the unit file

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 years ago
parent
commit
0f7a896f4c
1 changed files with 2 additions and 0 deletions
  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: