systemd
Installation
SKILL.md
Identity
- PID: 1 — systemd is the first process started by the kernel; all other processes are its descendants
- System unit dirs:
/etc/systemd/system/(admin-created, highest priority),/lib/systemd/system/(package-installed, do not edit),/run/systemd/system/(runtime, ephemeral) - User unit dir:
~/.config/systemd/user/(no root needed; started at login via--userinstance) - Drop-in dir:
/etc/systemd/system/<unit>.d/*.conf— fragments merged on top of the base unit - Logs:
journalctl -u <unit>(system),journalctl --user -u <unit>(user instance)