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:
parent
17ffd1d395
commit
6235b2f414
1 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,8 @@ in
|
||||||
config =
|
config =
|
||||||
let
|
let
|
||||||
commonConfig = {
|
commonConfig = {
|
||||||
|
systemd.services.postgresql.serviceConfig.Restart = "always";
|
||||||
|
|
||||||
services.postgresql.settings = {
|
services.postgresql.settings = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue