summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-13 16:40:37 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-13 16:40:37 +0100
commitaf3fa99c237b3d72f86fdf437b584baadf5f209a (patch)
treed7d297303c9e0d5f55e07c93c46e0dc15e056add /man
parentdf5d01df7bc93f73dc0a3efcf91f62f05f612f8b (diff)
parent14f01575e8efba8709f456e234514ec980516381 (diff)
downloadsystemd-af3fa99c237b3d72f86fdf437b584baadf5f209a.tar.gz
Merge pull request #1880 from fsateler/sysctl-doc
man: document systemd-sysctl arguments
Diffstat (limited to 'man')
-rw-r--r--man/systemd-sysctl.service.xml31
1 files changed, 29 insertions, 2 deletions
diff --git a/man/systemd-sysctl.service.xml b/man/systemd-sysctl.service.xml
index 55c8953722..9027ff0f3f 100644
--- a/man/systemd-sysctl.service.xml
+++ b/man/systemd-sysctl.service.xml
@@ -19,7 +19,8 @@
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
-->
-<refentry id="systemd-sysctl.service">
+<refentry id="systemd-sysctl.service"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
<refentryinfo>
<title>systemd-sysctl.service</title>
@@ -47,8 +48,12 @@
</refnamediv>
<refsynopsisdiv>
+ <cmdsynopsis>
+ <command>/usr/lib/systemd/systemd-sysctl</command>
+ <arg choice="opt" rep="repeat">OPTIONS</arg>
+ <arg choice="opt" rep="repeat"><replaceable>CONFIGFILE</replaceable></arg>
+ </cmdsynopsis>
<para><filename>systemd-sysctl.service</filename></para>
- <para><filename>/usr/lib/systemd/systemd-sysctl</filename></para>
</refsynopsisdiv>
<refsect1>
@@ -59,11 +64,33 @@
<citerefentry project='man-pages'><refentrytitle>sysctl</refentrytitle><manvolnum>8</manvolnum></citerefentry>
kernel parameters.</para>
+ <para>If invoked with no arguments, it applies all directives from
+ all configuration files in
+ <citerefentry><refentrytitle>sysctl.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ are searched for a matching file. If one or more filenames are passed on
+ the command line, only the directives in these files are applied.
+ </para>
+
<para>See
<citerefentry project='man-pages'><refentrytitle>sysctl.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>
for information about the configuration of this service.</para>
</refsect1>
+ <refsect1><title>Options</title>
+ <variablelist>
+ <varlistentry id='path'>
+ <term><option>--path=</option></term>
+ <listitem>
+ <para>Only apply rules with the specified prefix.</para>
+ </listitem>
+ </varlistentry>
+
+ <xi:include href="standard-options.xml" xpointer="help" />
+ <xi:include href="standard-options.xml" xpointer="version" />
+
+ </variablelist>
+ </refsect1>
+
<refsect1>
<title>See Also</title>
<para>