[icinga-checkins] icinga.org: icinga2/next: Improve the systemd service definition file

git at icinga.org git at icinga.org
Tue Jun 24 13:41:39 CEST 2014


Module: icinga2
Branch: next
Commit: 9667fb40b76e397489bb18bcde18c5c4b49738e4
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=9667fb40b76e397489bb18bcde18c5c4b49738e4

Author: Gerd von Egidy <gerd at egidy.de>
Date:   Tue Jun 24 02:15:35 2014 +0200

Improve the systemd service definition file

- put "Icinga" back in the "Description=" field as usually only the description is displayed on unit start/stop or shown in syslog
- add dependency to carbon-cache.service
(systemd only cares about dependencies if the respective services are enabled, so this does not hurt if someone does not have carbon-cache
installed at all or is not using it at the moment)

fixes #6551

Signed-off-by: Gunnar Beutner <gunnar.beutner at netways.de>

---

 etc/initsystem/icinga2.service.cmake |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/initsystem/icinga2.service.cmake b/etc/initsystem/icinga2.service.cmake
index 575eb7c..e15c004 100644
--- a/etc/initsystem/icinga2.service.cmake
+++ b/etc/initsystem/icinga2.service.cmake
@@ -1,6 +1,6 @@
 [Unit]
-Description=Host/service/network monitoring system
-After=syslog.target postgresql.service mariadb.service
+Description=Icinga host/service/network monitoring system
+After=syslog.target postgresql.service mariadb.service carbon-cache.service
 
 [Service]
 Type=forking



More information about the icinga-checkins mailing list