Is there a standard way to get systemd to execute a command when a service fails? For example, send an email to somebody (or a passive alert to Nagios).
I realise I can write a wrapper around the ExecStart
command, but I had hoped for something less ad-hoc.