From 12d1bc726225bde3522ac3cf19036fbb91a63e01 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 9 Nov 2024 21:22:48 -0800 Subject: Restart kea if configuration changes --- hosts/common/optional/services/dhcp.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/common/optional/services/dhcp.nix b/hosts/common/optional/services/dhcp.nix index 58d8565..dd1d182 100644 --- a/hosts/common/optional/services/dhcp.nix +++ b/hosts/common/optional/services/dhcp.nix @@ -33,6 +33,7 @@ systemd.services = { kea-dhcp4-server = { + restartTriggers = [ config.sops.secrets.kea-dhcp4_conf.path ]; serviceConfig = { ExecStart = lib.mkForce '' ${pkgs.kea}/bin/kea-dhcp4 -c ''${CREDENTIALS_DIRECTORY}/kea-dhcp4_conf -- cgit v1.2.3