Systemd

Use for systemd, the Linux init system and service manager (PID 1) and its tooling. Covers writing and debugging unit files (.service, .socket, .timer, .target, .mount, .path, .slice, .scope), systemctl / journalctl / systemd-analyze, drop-in overrides and precedence, service dependencies and ordering, socket activation, timers as a cron replacement, security sandboxing (Protect*/Private*/Restrict*, DynamicUser, SystemCallFilter), cgroup v2 resource control (MemoryMax, CPUQuota, slices), user services, journald/logind/networkd/resolved, credentials, and boot performance. Trigger on "systemd", "systemctl", "journalctl", "unit file", "daemon won't start", "enable a service", "systemd timer", "harden a service", "limit CPU/memory of a process", "socket activation", or debugging a failed/looping Linux service. Read the matching reference before editing units or advising changes.

Jylhis 93e3727 8 files · 43.6 KB Updated

File contents

Jylhis/skills/tree/main/skills/stack/systemd commit 93e37275eb

Frequently asked questions

npx skillmds@latest add jylhis/systemd