Skip to content
zarza zarza

Linux Server Failing Gracefully with Systemd OnFailure

13/07/2026 8 min Temporada 3 Episodio 109

Listen "Linux Server Failing Gracefully with Systemd OnFailure"

Episode Synopsis

Episode 109 of Linux Server Admin with Fexingo dives into a powerful but often overlooked systemd feature: OnFailure=, which automatically triggers a rescue unit when a critical service fails. Lucas and Luna walk through a real-world scenario — a database server that needs to page the admin and attempt a safe restart without manual intervention. They cover how to pair OnFailure with a custom target, a notification script via mailx, and a delayed restart timer to avoid restart loops. The episode also touches on cgroup resource limits and journald log persistence to make auto-recovery truly robust. If you've ever woken up to a dead service at 3 AM, this one's for you.

#LinuxServerAdmin #Systemd #OnFailure #ServiceFailure #AutoRecovery #SysadminTools #BashScripts #ServerResilience #DbFailover #Cgroups #Journald #MailxNotifications #TimerUnits #TechPodcast #FexingoBusiness #BusinessPodcast #ServerEngineering #HighAvailability

Keep every episode free: buymeacoffee.com/fexingo

ZARZA Studio — Your station on air today: library, music clock, schedule, studio and reports, from the browser.

Meet ZARZA Studio
on air now stations in the catalogue 1,827,688 podcasts countries