]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd.target.xml
man: use <replaceable> in various places
[thirdparty/systemd.git] / man / systemd.target.xml
CommitLineData
da49e9ab
LP
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
5430f7f2
LP
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
da49e9ab
LP
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
5430f7f2 19 Lesser General Public License for more details.
da49e9ab 20
5430f7f2 21 You should have received a copy of the GNU Lesser General Public License
da49e9ab
LP
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>
34511ca7 47 <refpurpose>Target unit configuration</refpurpose>
da49e9ab
LP
48 </refnamediv>
49
50 <refsynopsisdiv>
e670b166 51 <para><filename><replaceable>target</replaceable>.target</filename></para>
da49e9ab
LP
52 </refsynopsisdiv>
53
54 <refsect1>
55 <title>Description</title>
56
57 <para>A unit configuration file whose name ends in
58 <filename>.target</filename> encodes information about
59 a target unit of systemd, which is used for grouping
60 units and as well-known synchronization points during
61 start-up.</para>
62
63 <para>This unit type has no specific options. See
64 <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>
65 for the common options of all unit configuration
66 files. The common configuration items are configured
67 in the generic [Unit] and [Install] sections. A
b439c6ee 68 separate [Target] section does not exist, since no
da49e9ab
LP
69 target-specific options may be configured.</para>
70
71 <para>Target units do not offer any additional
72 functionality on top of the generic functionality
73 provided by units. They exist merely to group units via dependencies
74 (useful as boot targets), and to establish
75 standardized names for synchronization points used in
b439c6ee 76 dependencies between units. Among other things, target
da49e9ab 77 units are a more flexible replacement for SysV
b439c6ee 78 runlevels in the classic SysV init system. (And for
62adf224 79 compatibility reasons special
da49e9ab 80 target units such as
62adf224 81 <filename>runlevel3.target</filename> exist which are used by
da49e9ab
LP
82 the SysV runlevel compatibility code in systemd. See
83 <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>
84 for details).</para>
62adf224 85
f9276855
LP
86 <para>Unless <varname>DefaultDependencies=</varname>
87 is set to <option>false</option>, target units will
88 implicitly complement all configured dependencies of
89 type <varname>Wants=</varname>,
62adf224
LP
90 <varname>Requires=</varname>,
91 <varname>RequiresOverridable=</varname> with
f9276855
LP
92 dependencies of type <varname>After=</varname> if the
93 units in question also have
94 <varname>DefaultDependencies=true</varname>.
62adf224 95 </para>
da49e9ab
LP
96 </refsect1>
97
98 <refsect1>
99 <title>See Also</title>
100 <para>
f3e219a2 101 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
da49e9ab
LP
102 <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
103 <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
9cc2c8b7
ZJS
104 <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
105 <citerefentry><refentrytitle>systemd.directives</refentrytitle><manvolnum>7</manvolnum></citerefentry>
da49e9ab
LP
106 </para>
107 </refsect1>
108
109</refentry>