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
This commit is contained in:
Schanz, Jens 2018-11-09 13:17:08 +01:00
parent 9767ad14f7
commit 2754175c6e
1 changed files with 1 additions and 0 deletions

View File

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