SYSTEMD.TARGET(5) - man page online | file formats

Target unit configuration.

SYSTEMD.TARGET(5)                                       SYSTEMD.TARGET(5)

NAME - Target unit configuration



A unit configuration file whose name ends in ".target" encodes information about a target unit of systemd, which is used for grouping units and as well-known synchronization points during start-up. This unit type has no specific options. See systemd.unit(5) 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. 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 exist which are used by the SysV runlevel compatibility code in systemd. See systemd.special(7) for details).


Unless DefaultDependencies= is set to no, target units will implicitly complement all configured dependencies of type Wants=, Requires= with dependencies of type After=, unless an ordering dependency of any kind between the target and the respective other unit is already in place. Note that this behaviour is disabled if either unit has DefaultDependencies=no.


systemd(1), systemctl(1), systemd.unit(5), systemd.special(7), systemd.directives(7)
systemd 229 SYSTEMD.TARGET(5)
This manual Reference Other manuals referred by bootup(7) | init(1) | systemctl(1) | systemd(1) | systemd-sysv-generator(8) | systemd.cron(7) | systemd.directives(7) | systemd.index(7) | systemd.special(7) | systemd.unit(5)
refer to systemctl(1) | systemd(1) | systemd.directives(7) | systemd.special(7) | systemd.unit(5)