]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: Use BindsTo=systemd-networkd in systemd-networkd-wait-online.service
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 25 Nov 2022 13:32:20 +0000 (14:32 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 Nov 2022 22:35:05 +0000 (07:35 +0900)
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=

units/systemd-networkd-wait-online.service.in

index 10d8b08c8e03e6c27e4bd233efa5f8557f091098..09698fc535d2090fd4259372bd4b1e7759019df6 100644 (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