From 78feb634ad6c6a6c82bf5b0a3d6e1fd7f8ff540c Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 21 Jan 2025 18:07:42 +0000 Subject: [PATCH] servo: postgresql: fix Restart=on-failure --- hosts/by-name/servo/services/postgresql/default.nix | 1 + 1 file changed, 1 insertion(+) 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;