diff --git a/hosts/by-name/servo/services/postgresql/default.nix b/hosts/by-name/servo/services/postgresql/default.nix index 67a5a2fb5..17cd382b3 100644 --- a/hosts/by-name/servo/services/postgresql/default.nix +++ b/hosts/by-name/servo/services/postgresql/default.nix @@ -75,6 +75,7 @@ in }; # regulate the restarts, so that systemd never disables it + systemd.services.postgresql.serviceConfig.Restart = "on-failure"; systemd.services.postgresql.serviceConfig.RestartSec = 2; systemd.services.postgresql.serviceConfig.RestartMaxDelaySec = 10; systemd.services.postgresql.serviceConfig.RestartSteps = 4;