summaryrefslogtreecommitdiff
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
parent251ca882302c57eff7acade3a72fc3cfe16eafac (diff)
downloadsystemd-97211510b06b01a4f053d4cacba4ad4184849bcf.tar.gz
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