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