]> git.proxmox.com Git - systemd.git/blob - man/systemd.target.5
Imported Upstream version 208
[systemd.git] / man / systemd.target.5
1 '\" t
2 .TH "SYSTEMD\&.TARGET" "5" "" "systemd 208" "systemd.target"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 .ie \n(.g .ds Aq \(aq
11 .el .ds Aq '
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
16 .nh
17 .\" disable justification (adjust text to left margin only)
18 .ad l
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
22 .SH "NAME"
23 systemd.target \- Target unit configuration
24 .SH "SYNOPSIS"
25 .PP
26 \fItarget\fR\&.target
27 .SH "DESCRIPTION"
28 .PP
29 A unit configuration file whose name ends in
30 "\&.target"
31 encodes information about a target unit of systemd, which is used for grouping units and as well\-known synchronization points during start\-up\&.
32 .PP
33 This unit type has no specific options\&. See
34 \fBsystemd.unit\fR(5)
35 for the common options of all unit configuration files\&. The common configuration items are configured in the generic [Unit] and [Install] sections\&. A separate [Target] section does not exist, since no target\-specific options may be configured\&.
36 .PP
37 Target units do not offer any additional functionality on top of the generic functionality provided by units\&. They exist merely to group units via dependencies (useful as boot targets), and to establish standardized names for synchronization points used in dependencies between units\&. Among other things, target units are a more flexible replacement for SysV runlevels in the classic SysV init system\&. (And for compatibility reasons special target units such as
38 runlevel3\&.target
39 exist which are used by the SysV runlevel compatibility code in systemd\&. See
40 \fBsystemd.special\fR(7)
41 for details)\&.
42 .PP
43 Unless
44 \fIDefaultDependencies=\fR
45 is set to
46 \fBfalse\fR, target units will implicitly complement all configured dependencies of type
47 \fIWants=\fR,
48 \fIRequires=\fR,
49 \fIRequiresOverridable=\fR
50 with dependencies of type
51 \fIAfter=\fR
52 if the units in question also have
53 \fIDefaultDependencies=true\fR\&.
54 .SH "SEE ALSO"
55 .PP
56 \fBsystemd\fR(1),
57 \fBsystemctl\fR(8),
58 \fBsystemd.unit\fR(5),
59 \fBsystemd.special\fR(7),
60 \fBsystemd.directives\fR(7)