Am Freitag, 18. November 2022, 17:47:28 CET schrieb Thorsten Kukuk:
On Fri, Nov 18, Axel Braun wrote:
Helo Torsten,
Am Freitag, 18. November 2022, 13:29:54 WET schrieb Thorsten Kukuk:
for os-update (https://manpages.opensuse.org/os-update) I wanted to be informed, if the update failed. cron had this nice "MAILTO" feature, so I wrote something similar for systemd services as subpackage: systemd-status-mail (https://manpages.opensuse.org/systemd-status-mail)
It can send an email with the output of journalctl of the service in case it fails and/or succeeds.
Very interesting - did you test this with transactional-update.timer already? # cat /etc/systemd/system/transactional-update.service.d/status-mail.conf [Unit] OnFailure=systemd-status-mail@%n.service
But openQA is too good, transactional-update didn't failed for me for a very long time ;)
I'm sure, we can fix that. SCR Pete -- Life without chameleons is possible, but pointless.