nixos/kea: preserve shared runtime directory

When one service gets restarted it may otherwise remove the shared
runtime directory for all kea services.

The idea for this solution was provided by Jeffrey C. Ollie in
https://github.com/NixOS/nixpkgs/issues/265826#issuecomment-1841424019.

Closes: #265826
This commit is contained in:
Martin Weinelt 2023-12-15 13:52:52 +01:00
parent cd6ccb1737
commit 9f6a054517
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -255,6 +255,7 @@ in
User = "kea";
ConfigurationDirectory = "kea";
RuntimeDirectory = "kea";
RuntimeDirectoryPreserve = true;
StateDirectory = "kea";
UMask = "0077";
};