Course
systemd In Depth
A practitioner's tour of modern Linux service management — unit files, dependencies, hardening, timers, journald, cgroups, and boot debugging without superstition.
Reviews
Enrolled members can rate this course.
No reviews yet.
Boot and Unit Model
How systemd assembles a boot, what units really are, and how dependency graphs decide what runs when.
- 01The Boot Mental Model: PID 1 to a Reachable SystemWhat systemd actually does after the kernel hands off control, how targets replace runlevels, and why boot is a dependency graph rather than a script.22mOpen
- 02Unit Files Thoroughly: Sections, Types, and ExecutionThe anatomy of a production-grade service unit: what belongs in [Unit], [Service], and [Install], how types change readiness, and the directives people misuse most.28mOpen
- 03Dependencies and Ordering: The Graph Is the TruthHow Wants, Requires, After, Before, and unit activation interact — and how to express real prerequisites without creating boot deadlocks.24mOpen
Production Service Management
Supervision, hardening, and scheduling services that survive real machines and real mistakes.
- 01Service Lifecycle and Supervision: Restart Policy Done RightHow systemd tracks main processes, what restart settings mean in practice, and how to build services that recover without flapping.23mOpen
- 02Service Hardening with systemd SandboxingPractical sandbox directives — users, filesystem restrictions, capabilities, syscalls, and namespaces — with a rollout strategy that does not break production.28mOpen
- 03Timers Instead of Cron: Calendar Events, Accuracy, and Missed RunsHow systemd timers model schedules, randomized jitter, persistent catch-up, and service coupling — plus the cron habits that do not translate.24mOpen
Journals, Resources, and Debugging
journald, cgroup-backed resource control, and a disciplined workflow for boot and service failures.
- 01journald Deep Dive: Structure, Storage, and Useful QueriesWhat journald gives you beyond /var/log text files: indexed fields, per-unit history, persistence, rotation, forwarding, and queries that actually shorten incidents.25mOpen
- 02cgroups and Resource Control: systemd's Quiet SuperpowerHow systemd places every service in cgroups, and how to use CPU, memory, IO, and task limits for isolation instead of post-incident regret.26mOpen
- 03Debugging Boot Problems and Failed Units Without GuessworkA disciplined incident workflow: interpret systemctl output, reconstruct boot history, use debug shells safely, and fix root causes rather than masking them.27mOpen