Преглед изворни кода

icinga2: Restart icinga2 after changing the unit file

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm пре 3 година
родитељ
комит
0f7a896f4c
1 измењених фајлова са 2 додато и 0 уклоњено
  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: