diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-11-25 14:32:20 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-11-26 07:35:05 +0900 |
commit | da15f8406e9aeb7908e1d92c02d2ff5147c7788a (patch) | |
tree | 799c4e58320aa2c9bee295e2419561896127d0e5 /units | |
parent | 6042b60defe93948ce441e19f7788d31099f807c (diff) | |
download | systemd-da15f8406e9aeb7908e1d92c02d2ff5147c7788a.tar.gz |
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=
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-networkd-wait-online.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-networkd-wait-online.service.in b/units/systemd-networkd-wait-online.service.in index 10d8b08c8e..09698fc535 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 |