Systemd.md (1116B)
1 # systemd 2 3 **Source:** [https://wiki.archlinux.org/title/Systemd](https://wiki.archlinux.org/title/Systemd) 4 5 **Definition:** Systemd is a suite of services used for managing services on select Linux-based operating systems. 6 7 ## Terms 8 9 **Units:** .service, .mount, .device, .socket, etc. files 10 11 ## Details 12 13 `systemsctl` has an implied `--system`, meaning you are acting upon system level units by default. Additionally, specifying something like `systemctl status sshd` is referring to the `sshd.service`. Explicitly, this is `systemctl --system status sshd.service`. 14 15 ## Defining Units 16 17 systemd unit file syntax is inspired by XDG desktop entry specifications for .desktop files. 18 19 ## Examples 20 21 1. `systemctl` 22 23 Lists all running units. 24 25 2. `systemctl --failed` 26 27 Lists all failed units. 28 29 3. `systemctl list-unit-files` 30 31 List all installed unit files along with presets and states. 32 33 4. `systemctl mask unit` 34 35 Mask a unit to stop it from starting. 36 37 5. `systemctl soft-reboot` 38 39 Performs a soft-reboot, restarting the user space without going through [initramfs](Initramfs.md), keeping decrypted block devices decrypted.