Merge pull request 'fix: postgresql service should always wait for ZFS mount' (#37) from fix/postgresql-wait-for-mount into main

Reviewed-on: pub-solar/infra-new#37
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
This commit is contained in:
b12f 2023-10-29 19:56:14 +00:00
commit 4c874dae4a
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

View file

@ -2,4 +2,12 @@
{ {
services.postgresql.enable = true; services.postgresql.enable = true;
systemd.services.postgresql = {
after = [
"var-lib-postgresql.mount"
];
requisite = [
"var-lib-postgresql.mount"
];
};
} }