Commit Graph

3 Commits

Author SHA1 Message Date
Daniel Karzel
fbd0eb7548 Send emails OnFailure through dedicated service
The unit-status-email@.service allows being triggered through multiple services with @.
Note that everything after the @ is passed to the unit-status-email@.service as parameter.
We pass the complete service name OnFailure using %n.
The parameter can then be accessed by %i within the unit-status-email@.service.
Hence, to pass the service name to our email script for processing we use %i within unit-status-email@.service.
2021-02-24 12:12:38 +11:00
Daniel Karzel
0ebc9a79c7 Systemd service files and readme 2021-02-22 22:42:12 +11:00
Daniel Karzel
915026eb4d Systemd service files and readme 2021-02-22 21:59:02 +11:00