wip
This commit is contained in:
@@ -27,10 +27,14 @@ docker_setup_env() {
|
||||
file_env 'POSTGRES_PGPOOL_PASSWORD'
|
||||
}
|
||||
|
||||
if [ "$(id -u)" = '0' ]; then
|
||||
rm /etc/pgpool2/pcp.conf /etc/pgpool2/pgpool.conf
|
||||
exec gosu postgres "$BASH_SOURCE"
|
||||
fi
|
||||
|
||||
install --directory --owner postgres --group postgres --mode 700 /var/lib/postgresql/.ssh
|
||||
cp /ssh/* /var/lib/postgresql/.ssh/
|
||||
chmod 600 /var/lib/postgresql/.ssh/*
|
||||
chown postgres:postgres /var/lib/postgresql/.ssh/*
|
||||
|
||||
docker_setup_env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user