From 2754175c6ed56ef446b314ad6324a951678df6a0 Mon Sep 17 00:00:00 2001 From: "Schanz, Jens" Date: Fri, 9 Nov 2018 13:17:08 +0100 Subject: [PATCH] fixes #6758 Add target network-online.target as requirement. Service Icinga2 won't start before target is finally reached. This prevents Icinga2 from failing if no entry for hostname.domain is set in /etc/hosts --- etc/initsystem/icinga2.service.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/initsystem/icinga2.service.cmake b/etc/initsystem/icinga2.service.cmake index 9c7d81748..834a1fc18 100644 --- a/etc/initsystem/icinga2.service.cmake +++ b/etc/initsystem/icinga2.service.cmake @@ -1,5 +1,6 @@ [Unit] Description=Icinga host/service/network monitoring system +Requires=network-online.target After=syslog.target network-online.target postgresql.service mariadb.service carbon-cache.service carbon-relay.service [Service]