mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
units: Use BindsTo=systemd-networkd in systemd-networkd-wait-online.service
We don't want systemd-networkd-wait-online to start if systemd-networkd is skipped due to condition failures. This is only guaranteed by BindsTo= and not Requires=, so let's use BindsTo=
This commit is contained in:
parent
6042b60def
commit
da15f8406e
@ -12,7 +12,7 @@ Description=Wait for Network to be Configured
|
|||||||
Documentation=man:systemd-networkd-wait-online.service(8)
|
Documentation=man:systemd-networkd-wait-online.service(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
Requires=systemd-networkd.service
|
BindsTo=systemd-networkd.service
|
||||||
After=systemd-networkd.service
|
After=systemd-networkd.service
|
||||||
Before=network-online.target shutdown.target
|
Before=network-online.target shutdown.target
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user