systemd target
A systemd unit that groups other units into a milestone, such as multi-user.target for a normal server boot.
In more detail
Targets play the role of old runlevels: rescue.target is a recovery mode and graphical.target adds a desktop. A service joins a target through its [Install] section, and enabling it creates a wants link from the target. The kernel command line can ask for a different target for one boot.
Related terms
- systemd unit — One object systemd manages, such as a service, a mount or a target, described by a unit file and named with a suffix like web.service.
- unit dependency — A setting that says a systemd unit needs another unit started with it, either softly (Wants=) or strictly (Requires=).
- unit enablement — Whether a systemd unit is set to start automatically at boot, which is separate from whether it is running now.
- boot process — The chain of handoffs that takes a machine from power-on to running services: firmware, bootloader, kernel, initramfs and then the init system.
Taught in
- Booting: GRUB, The Kernel Command Line And initramfs — Linux Fundamentals & Systems Administration
- systemd: Units, Targets And The Boot Graph — Linux Fundamentals & Systems Administration
- The Reboot That Fails You — Red Hat Certified System Administrator (EX200) Exam Prep
- Logins, su, sudo And SSH Between Hosts — Red Hat Certified System Administrator (EX200) Exam Prep
- Targets, Boot And Shutdown — Red Hat Certified System Administrator (EX200) Exam Prep
- Services At Boot: Start, Enable And Mask — Red Hat Certified System Administrator (EX200) Exam Prep
- Tuning Profiles With tuned — Red Hat Certified System Administrator (EX200) Exam Prep
- autofs: Mount On Demand — Red Hat Certified System Administrator (EX200) Exam Prep
- Drill: The Machine That Will Not Boot — Red Hat Certified System Administrator (EX200) Exam Prep
- Drill: Storage, Then SELinux, Then The Firewall — Red Hat Certified System Administrator (EX200) Exam Prep
- Packages And Repositories: yum_repository And dnf — RHCE in Ansible (EX294): Automate Red Hat Systems
- Services And Boot Targets: Started Is Not Enabled — RHCE in Ansible (EX294): Automate Red Hat Systems