summaryrefslogtreecommitdiff
path: root/hostnix/elmo/dyndns.nix
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2024-04-26 23:51:10 -0400
committerJoe Mou <dev@mou.fo>2024-04-26 23:54:59 -0400
commit07a7baeb6bf21ce2018fc558fb849ba17669fb89 (patch)
tree0c45464e5ddada029cfc980705773e28e9cc8133 /hostnix/elmo/dyndns.nix
parentcb908f1341fdbfffb45c40b9f83ee540312b076e (diff)
elmo: E-mail on certain systemd failures
Diffstat (limited to 'hostnix/elmo/dyndns.nix')
-rw-r--r--hostnix/elmo/dyndns.nix1
1 files changed, 1 insertions, 0 deletions
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";