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:
Daan De Meyer 2022-11-25 14:32:20 +01:00 committed by Yu Watanabe
parent 6042b60def
commit da15f8406e

View file

@ -12,7 +12,7 @@ Description=Wait for Network to be Configured
Documentation=man:systemd-networkd-wait-online.service(8)
DefaultDependencies=no
Conflicts=shutdown.target
Requires=systemd-networkd.service
BindsTo=systemd-networkd.service
After=systemd-networkd.service
Before=network-online.target shutdown.target