From 39f0d1d2e733381180ece8477bb0b91e72061dc1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 14 Jul 2022 13:41:37 +0200 Subject: sysctl: also process sysctl requests via the "sysctl.extra" credential --- man/systemd-sysctl.service.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'man/systemd-sysctl.service.xml') diff --git a/man/systemd-sysctl.service.xml b/man/systemd-sysctl.service.xml index 751aa2b09e..98533b451f 100644 --- a/man/systemd-sysctl.service.xml +++ b/man/systemd-sysctl.service.xml @@ -73,6 +73,30 @@ + + Credentials + + systemd-sysctl supports the service credentials logic as implemented by + LoadCredential=/SetCredential= (see + systemd.exec1 for + details). The following credentials are used when passed in: + + + + sysctl.extra + + The contents of this credential may contain additional lines to operate on. The + credential contents should follow the same format as any other sysctl.d/ + drop-in. If this credential is passed it is processed after all of the drop-in files read from the + file system. The settings configured in the credential hence take precedence over those in the file + system. + + + + Note that by default the systemd-sysctl.service unit file is set up to inherit + the sysctl.extra credential from the service manager. + + Examples -- cgit v1.2.1