1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-20 14:03:39 +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=

(cherry picked from commit da15f8406e9aeb7908e1d92c02d2ff5147c7788a)
(cherry picked from commit 01a39e96b523c06d99499a28451b24f12f8ecd4b)
This commit is contained in:
Daan De Meyer 2022-11-25 14:32:20 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent aec3dc60e4
commit 0fbb019020

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