fix: postgresql service should always wait for ZFS mount

This commit is contained in:
teutat3s 2023-10-29 20:53:16 +01:00
parent 67c3be1c43
commit 94c7b6d7db
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

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"
];
};
} }