
18 Nov
2022
18 Nov
'22
16:28
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? Cheers Axel