forked from pub-solar/infra
fix: postgresql service should always wait for ZFS mount
This commit is contained in:
parent
67c3be1c43
commit
94c7b6d7db
|
@ -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"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue