fix issue with host mounts

pull/419/head
Admire Nyakudya 2023-03-28 21:58:47 +02:00
rodzic 6eb1043519
commit 84eba0b00e
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -34,7 +34,7 @@ EOF
fi
create_dir "${WAL_ARCHIVE}"
non_root_permission postgres postgres
# test if DATADIR has content
# Do initialization if DATADIR directory is empty, or RECREATE_DATADIR is true
@ -74,6 +74,7 @@ EOF
fi
fi;
non_root_permission postgres postgres
# Set proper permissions
# needs to be done as root:
chown -R postgres:postgres ${DATADIR} ${WAL_ARCHIVE}