1
0
Fork 0

always restart postgresql service

For example, it can be killed by systemd-oom but it's such a foundational service that we should
always restart it.
This commit is contained in:
ibizaman 2024-08-13 03:45:05 +02:00
parent 17ffd1d395
commit 6235b2f414

View file

@ -78,6 +78,8 @@ in
config = config =
let let
commonConfig = { commonConfig = {
systemd.services.postgresql.serviceConfig.Restart = "always";
services.postgresql.settings = { services.postgresql.settings = {
}; };
}; };