mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-04 23:31:19 +00:00
b42098f4d0
network.target is a very early boot target which basically says "I can start opening sockets now". It has nothing to do with being connected to the internet and is often required by early boot services as well. Drop the unnecessary and wrong Wants=/Before=network.target to avoid dependency cycles and boot delays. https://bugzilla.gnome.org/show_bug.cgi?id=746039 https://launchpad.net/1430280
13 lines
252 B
SYSTEMD
13 lines
252 B
SYSTEMD
[Unit]
|
|
Description=Network Manager Wait Online
|
|
Requisite=NetworkManager.service
|
|
After=NetworkManager.service
|
|
Before=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=@bindir@/nm-online -s -q --timeout=30
|
|
|
|
[Install]
|
|
WantedBy=network-online.target
|