2026-06-30 · 4 min read
systemd units I actually use
Restart=always, RestartSec=3, LimitNOFILE for socket-heavy daemons. Test with systemctl start before enabling.
There is a sticky-note version of this advice and a team version. This post is the sticky-note version — the parts we keep re-learning after every deployment.
What actually matters
Start from the failure you are most likely to have: a full disk, an expired certificate or a maintenance window nobody read about. Design for those three and you cover 90% of 3am pages.
The rest is habit: write down changes, keep one off-site copy of everything, and test the restore path before you need it.
Checklist
- Monitoring that reaches your phone
- Backups restored at least once
- Config changes written down
- A rollback you have actually used