diff options
author | chayleaf <chayleaf-git@pavluk.org> | 2023-10-25 17:06:47 +0700 |
---|---|---|
committer | chayleaf <chayleaf-git@pavluk.org> | 2023-10-26 02:51:43 +0700 |
commit | 413011ddf46265756c0ba417c8722952eab853c6 (patch) | |
tree | 1d878ea2f07bbcd202207e34acc5df02209ae23d /nixos/modules/services/monitoring | |
parent | 3be4a51a23edfa3a3c4ceabe25328520dd1d9fd4 (diff) | |
download | nixpkgs-413011ddf46265756c0ba417c8722952eab853c6.tar nixpkgs-413011ddf46265756c0ba417c8722952eab853c6.tar.gz nixpkgs-413011ddf46265756c0ba417c8722952eab853c6.tar.bz2 nixpkgs-413011ddf46265756c0ba417c8722952eab853c6.tar.lz nixpkgs-413011ddf46265756c0ba417c8722952eab853c6.tar.xz nixpkgs-413011ddf46265756c0ba417c8722952eab853c6.tar.zst nixpkgs-413011ddf46265756c0ba417c8722952eab853c6.zip |
kea: use separate runtime directories for each service
Kea may clean the runtime directory when starting (or maybe systemd does it). I ran into this issue when restarting Kea after changing its configuration, so I think the fact it normally doesn't clean it is a race condition (it's cleaned on service start, and normally all Kea services start at roughly the same time).
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/exporters/kea.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/kea.nix b/nixos/modules/services/monitoring/prometheus/exporters/kea.nix index ed33c72f644..8b1cd47d0a4 100644 --- a/nixos/modules/services/monitoring/prometheus/exporters/kea.nix +++ b/nixos/modules/services/monitoring/prometheus/exporters/kea.nix @@ -15,8 +15,8 @@ in { type = types.listOf types.str; example = literalExpression '' [ - "/run/kea/kea-dhcp4.socket" - "/run/kea/kea-dhcp6.socket" + "/run/kea-dhcp4/kea-dhcp4.socket" + "/run/kea-dhcp6/kea-dhcp6.socket" ] ''; description = lib.mdDoc '' |