From 451605c50db6821751d45a730d26f228b3de5366 Mon Sep 17 00:00:00 2001 From: fruchti Date: Sun, 26 Mar 2023 14:27:23 +0200 Subject: [PATCH] Emitter: E-mail on backup failure --- hosts/Emitter.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/Emitter.nix b/hosts/Emitter.nix index 9600757..7ab0acf 100644 --- a/hosts/Emitter.nix +++ b/hosts/Emitter.nix @@ -116,6 +116,8 @@ sslKeyPasswordFile = "/secrets/burp_ssl_key_password"; }; }; + services.statusEmail.enable = true; + systemd.services.burp-client.unitConfig.OnFailure = "status-email@%n.service"; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions