refactor to common parent

This commit is contained in:
Bernhard Radermacher
2026-02-26 13:51:02 +01:00
parent 239000e057
commit 08dbb7e529
5 changed files with 5 additions and 65 deletions

View File

@@ -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