1
Fork 0

Fix postgres persistence permisions

This commit is contained in:
prescientmoon 2024-04-01 11:29:34 +02:00
parent 8c13270bf1
commit ca1b4d37af
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -1,3 +1,7 @@
{ {
environment.persistence."/persist/state".directories = [ "/var/lib/postgresql" ]; environment.persistence."/persist/state".directories = [{
directory = "/var/lib/postgresql";
user = "postgres";
group = "postgres";
}];
} }