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:
1 parent
ce0ddd3aac
commit
43f2253f2d
1 file changed
+1
-1
+1
-1
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=ZNC, an advanced IRC bouncer
|
||||
After=network.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@bindir@/znc -f
|
||||
|
||||
Reference in new issue
Block a user