diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-09 21:22:48 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-09 21:22:48 -0800 |
commit | 12d1bc726225bde3522ac3cf19036fbb91a63e01 (patch) | |
tree | e5a4c8e3fb0ef8f2786985668b99ff6ad844b41f | |
parent | 64df701931dddbd519664af10c09e41a23f844cf (diff) | |
download | nix-12d1bc726225bde3522ac3cf19036fbb91a63e01.tar nix-12d1bc726225bde3522ac3cf19036fbb91a63e01.tar.gz nix-12d1bc726225bde3522ac3cf19036fbb91a63e01.tar.bz2 nix-12d1bc726225bde3522ac3cf19036fbb91a63e01.tar.lz nix-12d1bc726225bde3522ac3cf19036fbb91a63e01.tar.xz nix-12d1bc726225bde3522ac3cf19036fbb91a63e01.tar.zst nix-12d1bc726225bde3522ac3cf19036fbb91a63e01.zip |
Restart kea if configuration changes
-rw-r--r-- | hosts/common/optional/services/dhcp.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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 |