You can use OnFailure in your .service file if you want some thing to happen when that specific service fails, but I don’t know if there’s a blanket way to tell systemd to notify via email when any failure happens (I wouldn’t mind a desktop notification… will investigate)
You can use
OnFailure
in your.service
file if you want some thing to happen when that specific service fails, but I don’t know if there’s a blanket way to tell systemd to notify via email when any failure happens (I wouldn’t mind a desktop notification… will investigate)