[icinga-checkins] icinga.org: icinga2/feature/systemd-4794-final: Reloading with systemd is fixed now.

git at icinga.org git at icinga.org
Sun Jun 15 17:34:51 CEST 2014

Module: icinga2
Branch: feature/systemd-4794-final
Commit: 59a1a133c3238c1d23c2efd8eb041383e0cdfcb5
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=59a1a133c3238c1d23c2efd8eb041383e0cdfcb5

Author: Gerd von Egidy <gerd at egidy.de>
Date:   Sun May 18 21:49:08 2014 +0200

Reloading with systemd is fixed now.

Refs #4794


 etc/systemd/icinga2.service.cmake |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/etc/systemd/icinga2.service.cmake b/etc/systemd/icinga2.service.cmake
index a0a570d..7fc386b 100644
--- a/etc/systemd/icinga2.service.cmake
+++ b/etc/systemd/icinga2.service.cmake
@@ -8,9 +8,7 @@ EnvironmentFile=/etc/sysconfig/icinga2
 # ExecStartPre=  TODO: execute the mkdir & chown/chmod stuff, ideally in a separate script, used by both init.d and systemd
-# TODO: reload not working, seems like systemd kills the newly forked daemon process
-#ExecReload=/bin/kill -HUP $MAINPID
+ExecReload=/bin/kill -HUP $MAINPID

More information about the icinga-checkins mailing list