On Thu, Oct 18, 2018 at 08:46:10AM +0200, Kamil Jońca wrote: > > Put an OnFailure= line in systemd units that you want to mail you if > > they go wrong > > > >> [Unit] > >> OnFailure=status-email-user@%n.service > > But this not play well with exim4. > See: > https://lists.freedesktop.org/archives/systemd-devel/2018-September/041417.html > (and thread as a whole)
Ouch. This is downright terrifying. It should be quite obvious why things other than exim can break when called from there. And there's no good way for a random tool you may use to know it might get suddenly SIGKILLed out of the blue. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢰⠒⠀⣿⡁ 10 people enter a bar: 1 who understands binary, ⢿⡄⠘⠷⠚⠋⠀ 1 who doesn't, D who prefer to write it as hex, ⠈⠳⣄⠀⠀⠀⠀ and 1 who narrowly avoided an off-by-one error.