From: Daan De Meyer Date: Fri, 25 Nov 2022 13:32:20 +0000 (+0100) Subject: units: Use BindsTo=systemd-networkd in systemd-networkd-wait-online.service X-Git-Tag: v253-rc1~445 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da15f8406e9aeb7908e1d92c02d2ff5147c7788a;p=thirdparty%2Fsystemd.git 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= --- diff --git a/units/systemd-networkd-wait-online.service.in b/units/systemd-networkd-wait-online.service.in index 10d8b08c8e0..09698fc535d 100644 --- a/units/systemd-networkd-wait-online.service.in +++ b/units/systemd-networkd-wait-online.service.in @@ -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