nixos/home/routing-common: Restart kea on failure

This commit is contained in:
Jack O'Sullivan 2024-03-21 20:40:38 +00:00
parent b420f2377c
commit f857e751b5

View File

@ -26,7 +26,11 @@ in
};
systemd.services = {
kea-dhcp4-server.serviceConfig.DynamicUser = mkForce false;
kea-dhcp4-server.serviceConfig = {
# Sometimes interfaces might not be ready in time and Kea doesn't like that
Restart = "on-failure";
DynamicUser = mkForce false;
};
kea-dhcp-ddns-server.serviceConfig.DynamicUser = mkForce false;
};