systemd: update for network-online.target for systemd >= 200 (rh #787314)
systemd's new network-online target abstracts the "wait until networking is up" stuff, and NM-wait-online implements that functionality. Thus NM-wait-online should be ordered before (and thus be a dependency of) network-online.
This commit is contained in:
@@ -3,11 +3,11 @@ Description=Network Manager Wait Online
|
||||
Requisite=NetworkManager.service
|
||||
After=NetworkManager.service
|
||||
Wants=network.target
|
||||
Before=network.target
|
||||
Before=network.target network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=@bindir@/nm-online -q --timeout=30
|
||||
|
||||
[Install]
|
||||
WantedBy=network.target
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user