I managed to achieve what I wanted. Here is how..
1- Create a user with privileges enough to send mail
2- Create a service file nano /etc/systemd/system/email-notifications.service
(Code, 13 lines)
3- Enable the created service systemctl enable…
(Quote from macom)
Thanks for your reply. I tried to do a systemd service to send the shutdown email. But it is never sent on time because the message goes to queue first. And I am unable to find a way to make this service execute that script before…
I am using OMV 5 as a backup server for daily automated backups. And it is doing an awesome job. Thanks for everyone contributing to this great project.
I would like to receive an email notification once OMV startup and shutdown. Any ideas…