2
.\" Title: systemd.special
3
.\" Author: Lennart Poettering <lennart@poettering.net>
4
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
6
.\" Manual: systemd.special
10
.TH "SYSTEMD\&.SPECIAL" "7" "03/16/2012" "systemd" "systemd.special"
11
.\" -----------------------------------------------------------------
12
.\" * Define some portability stuff
13
.\" -----------------------------------------------------------------
14
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
.\" http://bugs.debian.org/507673
16
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20
.\" -----------------------------------------------------------------
21
.\" * set default formatting
22
.\" -----------------------------------------------------------------
23
.\" disable hyphenation
25
.\" disable justification (adjust text to left margin only)
27
.\" -----------------------------------------------------------------
28
.\" * MAIN CONTENT STARTS HERE *
29
.\" -----------------------------------------------------------------
31
systemd.special \- special systemd units
35
ctrl\-alt\-del\&.target,
38
display\-manager\&.service,
45
local\-fs\-pre\&.target,
46
mail\-transfer\-agent\&.target,
53
remote\-fs\-pre\&.target,
66
systemd\-initctl\&.service,
67
systemd\-initctl\&.socket,
68
systemd\-stdout\-syslog\-bridge\&.service,
69
systemd\-stdout\-syslog\-bridge\&.socket,
74
A few units are treated specially by systemd\&. They have special internal semantics and cannot be renamed\&.
75
.SH "SPECIAL SYSTEM UNITS"
79
A special target unit covering early boot\-up\&.
81
systemd automatically adds dependencies of the types Requires and After for this target unit to all SysV service units configured for runlevel 1 to 5\&.
83
Usually this should pull\-in all sockets, mount points, swap devices and other basic initialization necessary for the general purpose daemons\&. Most normal daemons should have dependencies of type After and Requires on this unit\&.
86
ctrl\-alt\-del\&.target
88
systemd starts this target whenever Control+Alt+Del is pressed on the console\&. Usually this should be aliased (symlinked) to
94
A special unit for the D\-Bus system bus\&. As soon as this service is fully started up systemd will connect to it and register its service\&.
99
The default unit systemd starts at bootup\&. Usually this should be aliased (symlinked) to
102
graphical\&.target\&.
104
The default unit systemd starts at bootup can be overridden with the
105
\fIsystemd\&.unit=\fR
106
kernel command line option\&.
109
display\-manager\&.service
111
The display manager service\&. Usually this should be aliased (symlinked) to
113
or a similar display manager service\&.
115
systemd automatically adds dependencies of type After for this target unit to all SysV init script service units with a LSB header referring to the
117
facility, for compatibility with Debian\&.
122
A special target unit that starts an emergency shell on the main console\&. This unit is supposed to be used with the kernel command line option
123
\fIsystemd\&.unit=\fR
124
and has otherwise little use\&.
129
A special target unit for setting up a graphical login screen\&. This pulls in
130
multi\-user\&.target\&.
132
Units that are needed for graphical login shall add Wants dependencies for their unit to this unit (or
133
multi\-user\&.target) during installation\&.
138
A special target unit for shutting down and halting the system\&.
140
Applications wanting to halt the system should start this unit\&.
145
systemd starts this target whenever Alt+ArrowUp is pressed on the console\&. This is a good candidate to be aliased (symlinked) to
151
systemd automatically adds dependencies of type After to all mount units that refer to local mount points for this target unit\&. In addition, systemd adds dependencies of type Wants to this target unit for those mounts listed in
156
\fBcomment=systemd\&.mount\fR
159
systemd automatically adds dependencies of type After for this target unit to all SysV init script service units with an LSB header referring to the
164
local\-fs\-pre\&.target
166
This target unit is automatically ordered before all local mount points marked with
168
(see above)\&. It can be used to execute certain units before all local mounts\&.
171
mail\-transfer\-agent\&.target
173
The mail transfer agent (MTA) service\&. Usually this should pull\-in all units necessary for sending/receiving mails on the local host\&.
175
systemd automatically adds dependencies of type After for this target unit to all SysV init script service units with an LSB header referring to the
176
$mail\-transfer\-agent
178
$mail\-transport\-agent
179
facilities, for compatibility with Debian\&.
184
A special target unit for setting up a multi\-user system (non\-graphical)\&. This is pulled in by
185
graphical\&.target\&.
187
Units that are needed for a multi\-user system shall add Wants dependencies to this unit for their unit during installation\&.
192
systemd automatically adds dependencies of type After for this target unit to all SysV init script service units with an LSB header referring to the
199
systemd automatically adds dependencies of type After for this target unit to all SysV init script service units with an LSB header referring to the
206
A special target unit for shutting down and powering off the system\&.
208
Applications wanting to power off the system should start this unit\&.
211
is an alias for this target unit, for compatibility with SysV\&.
216
A special target unit for shutting down and rebooting the system\&.
218
Applications wanting to reboot the system should start this unit\&.
221
is an alias for this target unit, for compatibility with SysV\&.
227
local\-fs\&.target, but for remote mount points\&.
229
systemd automatically adds dependencies of type After for this target unit to all SysV init script service units with an LSB header referring to the
234
remote\-fs\-pre\&.target
236
This target unit is automatically ordered before all remote mount points marked with
238
(see above)\&. It can be used to execute certain units before all remote mounts\&.
243
A special target unit for setting up the base system and a rescue shell\&.
246
is an alias for this target unit, for compatibility with SysV\&.
251
systemd automatically adds dependencies of type After for this target unit to all SysV init script service units with an LSB header referring to the
258
This is a target that is called whenever the SysV compatibility code asks for runlevel 2\&. It is a good idea to make this an alias for (i\&.e\&. symlink to)
259
multi\-user\&.target\&.
264
This is a target that is called whenever the SysV compatibility code asks for runlevel 3\&. It is a good idea to make this an alias for (i\&.e\&. symlink to)
267
graphical\&.target\&.
272
This is a target that is called whenever the SysV compatibility code asks for runlevel 4\&. It is a good idea to make this an alias for (i\&.e\&. symlink to)
275
graphical\&.target\&.
280
This is a target that is called whenever the SysV compatibility code asks for runlevel 5\&. It is a good idea to make this an alias for (i\&.e\&. symlink to)
283
graphical\&.target\&.
288
A special target unit that terminates the services on system shutdown\&.
290
Services that shall be terminated on system shutdown shall add Conflicts dependencies to this unit for their service unit, which is implicitly done when
291
\fIDefaultDependencies=yes\fR
292
is set (the default)\&.
294
systemd automatically adds dependencies of type Conflicts to this target unit for all SysV init script service units that shall be terminated in SysV runlevels 0 or 6\&.
299
A special target that is started when systemd receives the SIGPWR process signal, which is normally sent by the kernel or UPS daemons when power fails\&.
304
A special target unit that sets up all service sockets\&.
306
Services that can be socket\-activated shall add Wants dependencies to this unit for their socket unit during installation\&.
312
local\-fs\&.target, but for swap partitions and swap files\&.
317
A special target unit covering early boot\-up scripts\&.
319
systemd automatically adds dependencies of the types Wants and After for all SysV service units configured for runlevels that are not 0 to 6 to this target unit\&. This covers the special boot\-up runlevels some distributions have, such as S or b\&.
324
systemd automatically adds dependencies of type After for this target unit to all SysV init script service units with an LSB header referring to the
329
systemd\-initctl\&.service
331
This provides compatibility with the SysV /dev/initctl file system FIFO for communication with the init system\&.
333
This is a socket\-activated service, see
334
system\-initctl\&.socket\&.
337
systemd\-initctl\&.socket
339
Socket activation unit for
340
system\-initctl\&.service\&.
343
systemd\-stdout\-syslog\-bridge\&.service
345
This is internally used by systemd to provide syslog logging to the processes it maintains\&.
347
This is a socket\-activated service, see
348
system\-stdout\-syslog\-bridge\&.socket\&.
351
systemd\-stdout\-syslog\-bridge\&.socket
353
Socket activation unit for
354
system\-stdout\-syslog\-bridge\&.service\&. systemd will automatically add dependencies of types Requires and After to all units that have been configured for stdout or stderr to be connected to syslog or the kernel log buffer\&.
357
systemd\-shutdownd\&.service
359
This is internally used by
361
to implement delayed shutdowns\&.
363
This is a socket\-activated service, see
364
system\-shutdownd\&.socket\&.
367
systemd\-shutdownd\&.socket
369
Socket activation unit for
370
system\-shutdownd\&.service\&.
375
systemd automatically adds dependencies of type After for this target unit to all SysV init script service units with an LSB header referring to the
382
A special target unit that umounts all mount and automount points on system shutdown\&.
384
Mounts that shall be unmounted on system shutdown shall add Conflicts dependencies to this unit for their mount unit, which is implicitly done when
385
\fIDefaultDependencies=yes\fR
386
is set (the default)\&.
388
.SH "SPECIAL USER UNITS"
390
When systemd runs as a user instance, the following special units are available, which have similar definitions as their system counterparts:
398
In addition the following special unit is understood only when systemd runs as service instance:
402
A special service unit for shutting down the user service manager\&.
404
Applications wanting to terminate the user service manager should start this unit\&. If systemd receives SIGTERM or SIGINT when running as user service daemon it will start this unit\&.
406
Normally, this pulls in
408
which in turn should be conflicted by all units that want to be shut down on user service manager exit\&.
413
\fBsystemd.unit\fR(5),
414
\fBsystemd.service\fR(5),
415
\fBsystemd.socket\fR(5),
416
\fBsystemd.target\fR(5)
419
\fBLennart Poettering\fR <\&lennart@poettering\&.net\&>