forked from pub-solar/infra
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:
commit
4c874dae4a
|
@ -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