servo: postgresql: fix Restart=on-failure

This commit is contained in:
2025-01-21 18:07:42 +00:00
parent 5740718d08
commit 78feb634ad

View File

@@ -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;