servo: postgresql: fix Restart=on-failure
This commit is contained in:
@@ -75,6 +75,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# regulate the restarts, so that systemd never disables it
|
# 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.RestartSec = 2;
|
||||||
systemd.services.postgresql.serviceConfig.RestartMaxDelaySec = 10;
|
systemd.services.postgresql.serviceConfig.RestartMaxDelaySec = 10;
|
||||||
systemd.services.postgresql.serviceConfig.RestartSteps = 4;
|
systemd.services.postgresql.serviceConfig.RestartSteps = 4;
|
||||||
|
Reference in New Issue
Block a user