[icinga-checkins] icinga.org: icinga2/feature/improve-systemd-6551: improve the systemd service definition file

git at icinga.org git at icinga.org
Tue Jun 24 02:19:18 CEST 2014

Module: icinga2
Branch: feature/improve-systemd-6551
Commit: a2ddb6ef0dada8cfef2c1a14a74206c868555bef
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=a2ddb6ef0dada8cfef2c1a14a74206c868555bef

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)

Refs #6551


 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 @@
-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

More information about the icinga-checkins mailing list