summaryrefslogtreecommitdiff
path: root/hostnix/elmo/dyndns.nix
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2024-12-23 13:49:28 -0800
committerJoe Mou <dev@mou.fo>2024-12-23 13:50:29 -0800
commitc39d128c228939f62d0bd8482869cf7496c56f36 (patch)
treec72121c05fae448e5975431be6087f2eb6bc1773 /hostnix/elmo/dyndns.nix
parentf676a60d8dc432952614e6dd4ab60e7f7a386389 (diff)
Use same dyndns retry limit as ansible
Diffstat (limited to 'hostnix/elmo/dyndns.nix')
-rw-r--r--hostnix/elmo/dyndns.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hostnix/elmo/dyndns.nix b/hostnix/elmo/dyndns.nix
index 750f644..56a46cc 100644
--- a/hostnix/elmo/dyndns.nix
+++ b/hostnix/elmo/dyndns.nix
@@ -28,9 +28,9 @@
after = [ "network-online.target" ];
unitConfig = {
AssertPathExists = "/var/secrets/dyndns";
- # Retry ~3min before giving up.
- StartLimitIntervalSec = "5min";
- StartLimitBurst = "7";
+ # Retry ~30min before giving up.
+ StartLimitIntervalSec = "45min";
+ StartLimitBurst = "60";
OnFailure = "status-email@%n.service";
};
serviceConfig = {