mirror of
https://github.com/systemd/systemd
synced 2024-10-02 22:37:25 +00:00
units: order network-online.target after network.target
There might be implementations around where the network-online logic might not talk to any network configuration service (and thus not have to wait for it), hence let's explicitly order network-online.target after network.target to avoid any ambiguities.
This commit is contained in:
parent
71449cafa1
commit
58e027023b
|
@ -9,3 +9,4 @@
|
|||
Description=Network is Online
|
||||
Documentation=man:systemd.special(7)
|
||||
Documentation=http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
|
||||
After=network.target
|
||||
|
|
|
@ -12,7 +12,7 @@ DefaultDependencies=no
|
|||
Conflicts=shutdown.target
|
||||
Requisite=systemd-networkd.service
|
||||
After=systemd-networkd.service
|
||||
Before=network-online.target
|
||||
Before=network.target network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
Loading…
Reference in a new issue