diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-05-07 10:49:57 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-05-09 17:59:55 +0200 |
commit | 97211510b06b01a4f053d4cacba4ad4184849bcf (patch) | |
tree | 629a4c257697572aa7979e9cefe5bd05115d447c /units | |
parent | sd-dhcp-client: client ID always has non-zero data (diff) | |
download | systemd-97211510b06b01a4f053d4cacba4ad4184849bcf.tar.xz systemd-97211510b06b01a4f053d4cacba4ad4184849bcf.zip |
units: Add CAP_NET_ADMIN condition to systemd-networkd-wait-online@.service as well
It was added to CAP_NET_ADMIN but we forgot to add it to the template
service as well.
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-networkd-wait-online@.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-networkd-wait-online@.service.in b/units/systemd-networkd-wait-online@.service.in index 2fae26d1c0..b7a1e409f4 100644 --- a/units/systemd-networkd-wait-online@.service.in +++ b/units/systemd-networkd-wait-online@.service.in @@ -10,6 +10,7 @@ [Unit] Description=Wait for Network Interface %i to be Configured Documentation=man:systemd-networkd-wait-online.service(8) +ConditionCapability=CAP_NET_ADMIN DefaultDependencies=no Conflicts=shutdown.target BindsTo=systemd-networkd.service |