]> granicus.if.org Git - icinga2/commitdiff
Improve the systemd service definition file
authorGerd von Egidy <gerd@egidy.de>
Tue, 24 Jun 2014 00:15:35 +0000 (02:15 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 24 Jun 2014 11:40:44 +0000 (13:40 +0200)
- 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@netways.de>
etc/initsystem/icinga2.service.cmake

index 575eb7c67273b45c71b8d86d1ba913045a96cf59..e15c0040f5ff2a1b4cca3137264c19f6c0225fc7 100644 (file)
@@ -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