1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
7 This file is part of systemd.
9 Copyright 2010 Lennart Poettering
11 systemd is free software; you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
16 systemd is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with systemd; If not, see <http://www.gnu.org/licenses/>.
25 <refentry id="systemd.conf">
27 <title>systemd.conf</title>
28 <productname>systemd</productname>
32 <contrib>Developer</contrib>
33 <firstname>Lennart</firstname>
34 <surname>Poettering</surname>
35 <email>lennart@poettering.net</email>
41 <refentrytitle>systemd.conf</refentrytitle>
42 <manvolnum>5</manvolnum>
46 <refname>systemd.conf</refname>
47 <refpurpose>systemd manager configuration file</refpurpose>
51 <para><filename>system.conf</filename></para>
52 <para><filename>user.conf</filename></para>
56 <title>Description</title>
58 <para>When run as system instance systemd reads the
59 configuration file <filename>system.conf</filename>,
60 otherwise <filename>user.conf</filename>. These
61 configuration files contain a few settings controlling
62 basic manager operations.</para>
67 <title>Options</title>
69 <para>All options are configured in the
70 <literal>[Manager]</literal> section:</para>
75 <term><varname>LogLevel=</varname></term>
76 <term><varname>LogTarget=</varname></term>
77 <term><varname>LogColor=</varname></term>
78 <term><varname>LogLocation=</varname></term>
79 <term><varname>DumpCore=yes</varname></term>
80 <term><varname>CrashShell=no</varname></term>
81 <term><varname>ShowStatus=yes</varname></term>
82 <term><varname>SysVConsole=yes</varname></term>
83 <term><varname>CrashChVT=1</varname></term>
85 <listitem><para>Configures various
86 parameters of basic manager
87 operation. These options may be
88 overridden by the respective command
90 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
91 for details about these command line
92 arguments.</para></listitem>
96 <term><varname>CPUAffinity=</varname></term>
98 <listitem><para>Configures the initial
99 CPU affinity for the init
100 process. Takes a space-separated list
101 of CPU indexes.</para></listitem>
105 <term><varname>MountAuto=yes</varname></term>
106 <term><varname>SwapAuto=yes</varname></term>
108 <listitem><para>Configures whether
109 systemd should automatically activate
110 all swap or mounts listed in
111 <filename>/etc/fstab</filename>, or
112 whether this job is left to some other
113 system script.</para></listitem>
117 <term><varname>DefaultControllers=cpu</varname></term>
119 <listitem><para>Configures in which
120 cgroup controller hierarchies to
121 create per-service cgroups
122 automatically, in addition to the
123 name=systemd named hierarchy. Defaults
124 to 'cpu'. Takes a space separated list
125 of controller names. Pass an empty
126 string to ensure that systemd does not
127 touch any hierarchies but its
128 own.</para></listitem>
134 <title>See Also</title>
136 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>