[Unit]
Description=send mail at boot after a power loss
After=network.target postfix.service
ConditionPathExists=/usr/local/etc/nutNotify.conf
ConditionFileIsExecutable=/usr/local/bin/nutNotifyBoot.sh
ConditionPathIsDirectory=/var/log/nutNotify

[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/local/bin/nutNotifyBoot.sh

SuccessExitStatus=0

[Install]
WantedBy=multi-user.target




