From 4146f2c878b104d96d25575be553378ae276f6e0 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Fri, 18 Sep 2026 10:08:03 +0000 Subject: [PATCH] router/dhcp: drop Restart= already set by the nixpkgs kea unit --- modules/clan/router/dns-dhcp.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/clan/router/dns-dhcp.nix b/modules/clan/router/dns-dhcp.nix index 850b28a..e69291d 100644 --- a/modules/clan/router/dns-dhcp.nix +++ b/modules/clan/router/dns-dhcp.nix @@ -56,10 +56,9 @@ in }; }; - systemd.services.kea-dhcp4-server.serviceConfig = { - Restart = "on-failure"; - RestartSec = 5; - }; + # The nixpkgs unit already has Restart=on-failure; space the restarts out so + # a persistent bind failure does not trip the start-rate limit. + systemd.services.kea-dhcp4-server.serviceConfig.RestartSec = 5; services.blocky = { enable = true;