EPISODE · Jul 13, 2026 · 8 MIN
Linux Server Failing Gracefully with Systemd OnFailure
from Linux Server Admin with Fexingo: Sysadmin, Bash, and Server Engineering · host Fexingo
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
Embed this episode
Ready to play
Linux Server Failing Gracefully with Systemd OnFailure
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.