]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd.target.xml
Reindent man pages to 2ch
[thirdparty/systemd.git] / man / systemd.target.xml
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">
5
6 <!--
7 This file is part of systemd.
8
9 Copyright 2010 Lennart Poettering
10
11 systemd is free software; you can redistribute it and/or modify it
12 under the terms of the GNU Lesser General Public License as published by
13 the Free Software Foundation; either version 2.1 of the License, or
14 (at your option) any later version.
15
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 Lesser General Public License for more details.
20
21 You should have received a copy of the GNU Lesser General Public License
22 along with systemd; If not, see <http://www.gnu.org/licenses/>.
23 -->
24
25 <refentry id="systemd.target">
26 <refentryinfo>
27 <title>systemd.target</title>
28 <productname>systemd</productname>
29
30 <authorgroup>
31 <author>
32 <contrib>Developer</contrib>
33 <firstname>Lennart</firstname>
34 <surname>Poettering</surname>
35 <email>lennart@poettering.net</email>
36 </author>
37 </authorgroup>
38 </refentryinfo>
39
40 <refmeta>
41 <refentrytitle>systemd.target</refentrytitle>
42 <manvolnum>5</manvolnum>
43 </refmeta>
44
45 <refnamediv>
46 <refname>systemd.target</refname>
47 <refpurpose>Target unit configuration</refpurpose>
48 </refnamediv>
49
50 <refsynopsisdiv>
51 <para><filename><replaceable>target</replaceable>.target</filename></para>
52 </refsynopsisdiv>
53
54 <refsect1>
55 <title>Description</title>
56
57 <para>A unit configuration file whose name ends in
58 <literal>.target</literal> encodes information about a target unit
59 of systemd, which is used for grouping units and as well-known
60 synchronization points during start-up.</para>
61
62 <para>This unit type has no specific options. See
63 <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>
64 for the common options of all unit configuration files. The common
65 configuration items are configured in the generic [Unit] and
66 [Install] sections. A separate [Target] section does not exist,
67 since no target-specific options may be configured.</para>
68
69 <para>Target units do not offer any additional functionality on
70 top of the generic functionality provided by units. They exist
71 merely to group units via dependencies (useful as boot targets),
72 and to establish standardized names for synchronization points
73 used in dependencies between units. Among other things, target
74 units are a more flexible replacement for SysV runlevels in the
75 classic SysV init system. (And for compatibility reasons special
76 target units such as <filename>runlevel3.target</filename> exist
77 which are used by the SysV runlevel compatibility code in systemd.
78 See
79 <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>
80 for details).</para>
81
82 <para>Unless <varname>DefaultDependencies=</varname> is set to
83 <option>false</option>, target units will implicitly complement
84 all configured dependencies of type <varname>Wants=</varname>,
85 <varname>Requires=</varname>,
86 <varname>RequiresOverridable=</varname> with dependencies of type
87 <varname>After=</varname> if the units in question also have
88 <varname>DefaultDependencies=true</varname>.
89 </para>
90 </refsect1>
91
92 <refsect1>
93 <title>See Also</title>
94 <para>
95 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
96 <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
97 <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
98 <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
99 <citerefentry><refentrytitle>systemd.directives</refentrytitle><manvolnum>7</manvolnum></citerefentry>
100 </para>
101 </refsect1>
102
103 </refentry>