kopia lustrzana https://github.com/kartoza/docker-postgis
fix issue with host mounts
rodzic
6eb1043519
commit
84eba0b00e
|
@ -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}
|
||||
|
|
Ładowanie…
Reference in New Issue