2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
9 UNITSTATUS=$(systemctl status -n1000000000 "$1")
12 From:systemd-unit-status-mailer<root@$3>
14 Subject:systemd <$2@$3> ($1)
19 echo -e "Mail report sent to: $2 for unit: $1"