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