summaryrefslogtreecommitdiff
path: root/hostnix/elmo/email.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/elmo/email.nix')
-rw-r--r--hostnix/elmo/email.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostnix/elmo/email.nix b/hostnix/elmo/email.nix
index 462a3d7..1ea4000 100644
--- a/hostnix/elmo/email.nix
+++ b/hostnix/elmo/email.nix
@@ -17,6 +17,9 @@
systemd.services.postfix-tls-rotate = {
requires = [ "network-online.target" ];
after = [ "network-online.target" ];
+ unitConfig = {
+ OnFailure = "status-email@%n.service";
+ };
serviceConfig = {
Type = "oneshot";
# Not really necessary indirection but interesting to try out. Note we