refactor to common parent
This commit is contained in:
@@ -80,6 +80,10 @@ if [ "$(id -u)" = '0' ]; then
|
||||
exec gosu postgres "$BASH_SOURCE"
|
||||
fi
|
||||
|
||||
install --verbose --directory --owner postgres --group postgres --mode 1700 /var/lib/postgresql/.ssh
|
||||
cp /ssh/* /var/lib/postgresql/.ssh/
|
||||
chmod 600 /var/lib/postgresql/.ssh/*
|
||||
|
||||
docker_setup_env
|
||||
|
||||
if [[ ! -s "$PGDATA/PG_VERSION" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user