]> git.proxmox.com Git - systemd.git/blame - man/systemd.target.html
Imported Upstream version 218
[systemd.git] / man / systemd.target.html
CommitLineData
663996b3
MS
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd.target</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
2 a.headerlink {
3 color: #c60f0f;
4 font-size: 0.8em;
5 padding: 0 4px 0 4px;
6 text-decoration: none;
7 visibility: hidden;
8 }
9
10 a.headerlink:hover {
11 background-color: #c60f0f;
12 color: white;
13 }
14
15 h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
16 visibility: visible;
17 }
18 </style><a href="index.html">Index </a>·
19 <a href="systemd.directives.html">Directives </a>·
20 <a href="../python-systemd/index.html">Python </a>·
21 <a href="../libudev/index.html">libudev </a>·
f47781d8 22 <a href="../libudev/index.html">gudev </a><span style="float:right">systemd 218</span><hr><div class="refentry"><a name="systemd.target"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd.target — Target unit configuration</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename"><em class="replaceable"><code>target</code></em>.target</code></p></div><div class="refsect1"><a name="idm140282969945104"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p>A unit configuration file whose name ends in
14228c0d 23 "<code class="literal">.target</code>" encodes information about
663996b3
MS
24 a target unit of systemd, which is used for grouping
25 units and as well-known synchronization points during
26 start-up.</p><p>This unit type has no specific options. See
27 <a href="systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a>
28 for the common options of all unit configuration
29 files. The common configuration items are configured
30 in the generic [Unit] and [Install] sections. A
31 separate [Target] section does not exist, since no
32 target-specific options may be configured.</p><p>Target units do not offer any additional
33 functionality on top of the generic functionality
34 provided by units. They exist merely to group units via dependencies
35 (useful as boot targets), and to establish
36 standardized names for synchronization points used in
37 dependencies between units. Among other things, target
38 units are a more flexible replacement for SysV
39 runlevels in the classic SysV init system. (And for
40 compatibility reasons special
41 target units such as
42 <code class="filename">runlevel3.target</code> exist which are used by
43 the SysV runlevel compatibility code in systemd. See
44 <a href="systemd.special.html"><span class="citerefentry"><span class="refentrytitle">systemd.special</span>(7)</span></a>
45 for details).</p><p>Unless <code class="varname">DefaultDependencies=</code>
46 is set to <code class="option">false</code>, target units will
47 implicitly complement all configured dependencies of
48 type <code class="varname">Wants=</code>,
49 <code class="varname">Requires=</code>,
50 <code class="varname">RequiresOverridable=</code> with
51 dependencies of type <code class="varname">After=</code> if the
52 units in question also have
53 <code class="varname">DefaultDependencies=true</code>.
f47781d8 54 </p></div><div class="refsect1"><a name="idm140282969935360"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
663996b3 55 <a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
5eef597e 56 <a href="systemctl.html"><span class="citerefentry"><span class="refentrytitle">systemctl</span>(1)</span></a>,
663996b3
MS
57 <a href="systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a>,
58 <a href="systemd.special.html"><span class="citerefentry"><span class="refentrytitle">systemd.special</span>(7)</span></a>,
59 <a href="systemd.directives.html"><span class="citerefentry"><span class="refentrytitle">systemd.directives</span>(7)</span></a>
60 </p></div></div></body></html>