From: Daan De Meyer Date: Sun, 7 May 2023 08:49:57 +0000 (+0200) Subject: units: Add CAP_NET_ADMIN condition to systemd-networkd-wait-online@.service as well X-Git-Tag: v254-rc1~527 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97211510b06b01a4f053d4cacba4ad4184849bcf;p=thirdparty%2Fsystemd.git 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. --- diff --git a/units/systemd-networkd-wait-online@.service.in b/units/systemd-networkd-wait-online@.service.in index 2fae26d1c0c..b7a1e409f44 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