based on https://wiki.archlinux.org/index.php/Systemd/Timers#MAILTO
- Move
systemd-email.sh
to/usr/local/bin/systemd-email
- Move
status-email-example@.service
to/etc/systemd/system/
- Put
OnFailure=status-email-example@%n.service
into the[Unit]
section of a service