systemd Cheatsheet

Top commands.

Overview

systemd is the init system and service manager underneath every modern Linux distribution. Five primitive surfaces cover almost everything an operator does day-to-day: systemctl for service control, unit files for declarative config, dependency directives for startup ordering, timers for scheduled jobs, and resource limits for protection. Fluency in all five turns ad-hoc init scripts into reviewable service definitions.

The approach

Five commands carry most operational weight. Memorising them moves the team from cargo-culted shell snippets to confident service control.

Why this compounds

Each unit file captures service knowledge in a reviewable format. Over the year, the team's service library becomes a working map of how the platform actually starts up; debugging starts from a definition, not a guess.