You are not logged in.
I have couple systemd services I care about if they failed. Some are system, some are user. How can I run custom script whenever any service fails?
I know about OnFailure option, but that is per service, not for all services. I would like to for every failed unit to execute send-notify in my user session with basic service information which failed.
Offline