mirror of https://github.com/Icinga/icinga2.git
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
This commit is contained in:
parent
9767ad14f7
commit
2754175c6e
|
@ -1,5 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Icinga host/service/network monitoring system
|
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
|
After=syslog.target network-online.target postgresql.service mariadb.service carbon-cache.service carbon-relay.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
Loading…
Reference in New Issue