]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/systemd-sysctl.service.xml
sysctl: also process sysctl requests via the "sysctl.extra" credential
[thirdparty/systemd.git] / man / systemd-sysctl.service.xml
index 751aa2b09e07563579dd9e24156d37c51ed0ffe1..98533b451fdacc96d0d1e3531f10caeb67977e76 100644 (file)
     </variablelist>
   </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>