From 79cc26853a4456e885d29b0e2e8483acfbc499a0 Mon Sep 17 00:00:00 2001 From: Bernhard Radermacher Date: Fri, 27 Feb 2026 11:16:06 +0100 Subject: [PATCH] wip --- entrypoint.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 60cbe1b..999050b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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"