A supervisor that restarts a process when it falls.

systemd supervises process lifecycles

A service manager turns process startup, failure, and shutdown into observable state transitions. With systemd, a unit can name the foreground command, its restart policy, and its output destination. That removes the need for a shell loop that repeatedly launches a daemon without recording why it stopped. It does not prove that the running application can answer requests or that restarting repairs the underlying fault. ...

November 1, 2026 · 5 min · XB Field Notes
Observe, decide, and act panels for checking a retried scheduled job.

Scheduled jobs need to be safe to rerun

A scheduler starts attempts, while the business usually cares about completing a logical task. One daily credit may be attempted several times after an error, a restart, or an operator retry. Giving every attempt a new identifier makes those duplicates indistinguishable from new work. Use a key that identifies the intended task, such as its name and nominal scheduled time, and define what a repeated key means before changing business state. ...

August 15, 2026 · 5 min · XB Field Notes
A key ring where each key opens exactly one door.

Least privilege is a threshold, not a feeling

“Run with the least privilege” sounds like a wish, but as an operational measure it only works when the capabilities are enumerated. A service user should be limited by explicit filesystem access, user and group setup, and systemd hardening instead of a general sense that “it does not need much”. ...

August 11, 2026 · 5 min · XB Field Notes