diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-03-11 16:28:34 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-10-30 11:37:09 +0100 |
commit | b42098f4d0221d0c8411c0ebce7dfed1c894078a (patch) | |
tree | 29c045339e58038ea04490d098d3f7a9bf0dcb24 /data | |
parent | c8ca35bff9225e896fc7b4957addd78c45907c6b (diff) | |
download | NetworkManager-b42098f4d0221d0c8411c0ebce7dfed1c894078a.tar.gz |
systemd: stop blocking network.target in NetworkManager-wait-online.service
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
Diffstat (limited to 'data')
-rw-r--r-- | data/NetworkManager-wait-online.service.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/NetworkManager-wait-online.service.in b/data/NetworkManager-wait-online.service.in index 8b5bfbc16a..8c4fa67865 100644 --- a/data/NetworkManager-wait-online.service.in +++ b/data/NetworkManager-wait-online.service.in @@ -2,8 +2,7 @@ Description=Network Manager Wait Online Requisite=NetworkManager.service After=NetworkManager.service -Wants=network.target -Before=network.target network-online.target +Before=network-online.target [Service] Type=oneshot |