From 07a7baeb6bf21ce2018fc558fb849ba17669fb89 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Fri, 26 Apr 2024 23:51:10 -0400 Subject: elmo: E-mail on certain systemd failures --- hostnix/elmo/dyndns.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'hostnix/elmo/dyndns.nix') diff --git a/hostnix/elmo/dyndns.nix b/hostnix/elmo/dyndns.nix index aea6776..5bfde47 100644 --- a/hostnix/elmo/dyndns.nix +++ b/hostnix/elmo/dyndns.nix @@ -30,6 +30,7 @@ # Defer errors for ~45min, throttle e-mails to ~hourly. StartLimitIntervalSec = "1hr"; StartLimitBurst = "45"; + OnFailure = "status-email@%n.service"; }; serviceConfig = { Type = "oneshot"; -- cgit v1.3.1