From 97211510b06b01a4f053d4cacba4ad4184849bcf Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sun, 7 May 2023 10:49:57 +0200 Subject: 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. --- units/systemd-networkd-wait-online@.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units') 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 -- cgit v1.2.1