nixos/home/routing-common: Restart kea on failure
This commit is contained in:
parent
b420f2377c
commit
f857e751b5
@ -26,7 +26,11 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.services = {
|
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;
|
kea-dhcp-ddns-server.serviceConfig.DynamicUser = mkForce false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user