This commit is contained in:
Bernhard Radermacher
2026-02-27 11:16:06 +01:00
parent 9eaf0bf700
commit 79cc26853a

View File

@@ -37,7 +37,11 @@ chmod 600 /var/lib/postgresql/.ssh/*
docker_setup_env
printf "%s:%s\n" "$PGPOOL_ADMIN_USERNAME" "(pg_md5 "$PGPOOL_ADMIN_PASSWORD)" > /etc/pgpool2/pcp.conf
{
printf "%s:" "$PGPOOL_ADMIN_USERNAME"
pg_md5 "$PGPOOL_ADMIN_PASSWORD"
printf "\n"
} > /etc/pgpool2/pcp.conf
{
printf "localhost:9898:%s:%s\n" "$PGPOOL_ADMIN_USERNAME" "$PGPOOL_ADMIN_PASSWORD"
printf "pgpool:9898:%s:%s\n" "$PGPOOL_ADMIN_USERNAME" "$PGPOOL_ADMIN_PASSWORD"