diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-07-14 13:41:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-07-14 18:02:58 +0200 |
commit | 39f0d1d2e733381180ece8477bb0b91e72061dc1 (patch) | |
tree | 8e4f669ca8f369566bd6236718e9d7a1c847a6fb /man/systemd-sysctl.service.xml | |
parent | bbe29ca29b60ca264309d2c7f879afe49518e279 (diff) | |
download | systemd-39f0d1d2e733381180ece8477bb0b91e72061dc1.tar.gz |
sysctl: also process sysctl requests via the "sysctl.extra" credential
Diffstat (limited to 'man/systemd-sysctl.service.xml')
-rw-r--r-- | man/systemd-sysctl.service.xml | 24 |
1 files changed, 24 insertions, 0 deletions
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 @@ -74,6 +74,30 @@ </refsect1> <refsect1> + <title>Credentials</title> + + <para><command>systemd-sysctl</command> supports the service credentials logic as implemented by + <varname>LoadCredential=</varname>/<varname>SetCredential=</varname> (see + <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry> for + details). The following credentials are used when passed in:</para> + + <variablelist> + <varlistentry> + <term><literal>sysctl.extra</literal></term> + + <listitem><para>The contents of this credential may contain additional lines to operate on. The + credential contents should follow the same format as any other <filename>sysctl.d/</filename> + 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.</para></listitem> + </varlistentry> + </variablelist> + + <para>Note that by default the <filename>systemd-sysctl.service</filename> unit file is set up to inherit + the <literal>sysctl.extra</literal> credential from the service manager.</para> + </refsect1> + + <refsect1> <title>Examples</title> <example> |