diff --git a/docker/pgbouncer/entrypoint.sh b/docker/pgbouncer/entrypoint.sh index c5d27b3..0f243f9 100644 --- a/docker/pgbouncer/entrypoint.sh +++ b/docker/pgbouncer/entrypoint.sh @@ -345,7 +345,9 @@ if [ ! -f "$PG_CONFIG_FILE" ]; then printf 'tcp_user_timeout = %s\n' "${TCP_USER_TIMEOUT}" >>"$PG_CONFIG_FILE" fi printf '\n################## end file ##################\n' >>"$PG_CONFIG_FILE" - cat "${PG_CONFIG_FILE}" + if [ "${DEBUG}" = "true" ]; then + cat "${PG_CONFIG_FILE}" + fi fi echo "Starting $*..."