3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5 This file is part of systemd.
7 Copyright 2011 Lennart Poettering
9 systemd is free software; you can redistribute it and/or modify it
10 under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 systemd is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with systemd; If not, see <http://www.gnu.org/licenses/>.
22 <refentry id="sysctl.d">
25 <title>sysctl.d</title>
26 <productname>systemd</productname>
30 <contrib>Developer</contrib>
31 <firstname>Lennart</firstname>
32 <surname>Poettering</surname>
33 <email>lennart@poettering.net</email>
39 <refentrytitle>sysctl.d</refentrytitle>
40 <manvolnum>5</manvolnum>
44 <refname>sysctl.d</refname>
45 <refpurpose>Configure kernel parameters at boot</refpurpose>
49 <para><filename>/etc/sysctl.d/*.conf</filename></para>
53 <title>Description</title>
55 <para><command>systemd</command> uses
56 <filename>/etc/sysctl.d/</filename> to configure
57 <citerefentry><refentrytitle>sysctl</refentrytitle><manvolnum>8</manvolnum></citerefentry>
58 kernel parameters to load during boot. Each
59 configuration file is named in the style of
60 <filename>/etc/sysctl.d/<program>.conf</filename>.</para>
64 <title>Configuration Format</title>
66 <para>The configuration files should simply contain a
67 list of variable assignments, separated by
68 newlines. Empty lines and lines whose first
69 non-whitespace character is # or ; are ignored.</para>
71 <para>Note that both / and . are accepted as
72 separators in sysctl variable names.</para>
77 <title>Example</title>
79 <title>/etc/sysctl.d/domain-name.conf example:</title>
81 <programlisting># Set kernel YP domain name
82 kernel.domainname=example.com</programlisting>
87 <title>See Also</title>
89 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
90 <citerefentry><refentrytitle>sysctl</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
91 <citerefentry><refentrytitle>sysctl.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>