-
First I wanted to thank everyone for the work that has gone into this. I have found it very helpful and learnt a lot. In the documentation it talk about Failure notifications. Is there a way to enable Success notifications as well please? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, great to hear that you're having fun and learning! The failure email uses the systemd service unit feature In the documentation https://www.freedesktop.org/software/systemd/man/systemd.unit.html I see there's also a that there's also a Good luck! |
Beta Was this translation helpful? Give feedback.
Hello, great to hear that you're having fun and learning!
The failure email uses the systemd service unit feature
OnFailure
:https://github.com/erikw/restic-automatic-backup-scheduler#optional-email-notification-on-failure
In the documentation
https://www.freedesktop.org/software/systemd/man/systemd.unit.html
I see there's also a that there's also a
OnSuccess
. Thus I think you could probably easily achieve this. Try setting up the failure notification successfully first, then simply add an individual line in the service file usingOnSuccess
instead and see what happens.Good luck!