znc.service.in: start after network-online.target

network.target only means that the network management is up, it doesn't
mean that there is connectivity.

network-online.target means that the network management thinks that
there is network connectivity which means that the system has IP
address.

https://wiki.freedesktop.org/www/Software/systemd/NetworkTarget/
This commit is contained in:
Mikaela Suomalainen
2015-09-05 08:55:02 +03:00
parent ce0ddd3aac
commit 43f2253f2d
+1 -1
View File
@@ -1,6 +1,6 @@
[Unit]
Description=ZNC, an advanced IRC bouncer
After=network.target
After=network-online.target
[Service]
ExecStart=@bindir@/znc -f