Re: Debian Buster release to partially drop non-systemd support
- Date: Thu, 18 Oct 2018 08:46:10 +0200
- From: kjonca@xxxxxxxxxxxxxx (Kamil Jońca)
- Subject: Re: Debian Buster release to partially drop non-systemd support
Jonathan Dowland <jmtd@xxxxxxxxxx> writes:
> On Wed, Oct 17, 2018 at 08:33:47PM -0700, Russ Allbery wrote:
>>MAILTO was the main thing that I remember missing in terms of pure
> This is not a complete substitute for all uses of MAILTO, but I found
> the following useful so I share it in case you weren't aware of it.
> Define a service specifically designed for sending status emails:
>> ExecStart=-/usr/local/bin/systemd-email %i
> (I also switch on a little status LED I have with another ExecStart
>> systemctl status --full "$1" | mail -s "unit $1 failed" root
> Put an OnFailure= line in systemd units that you want to mail you if
> they go wrong
But this not play well with exim4.
(and thread as a whole)
Disks travel in packs.