summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-07 10:49:57 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-09 17:59:55 +0200
commit97211510b06b01a4f053d4cacba4ad4184849bcf (patch)
tree629a4c257697572aa7979e9cefe5bd05115d447c /units
parentsd-dhcp-client: client ID always has non-zero data (diff)
downloadsystemd-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.in1
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