From cc3b0cc9b2b0323a617f3eebd0d76007fe69c7d4 Mon Sep 17 00:00:00 2001 From: admire Date: Tue, 29 Jun 2021 21:28:26 +0200 Subject: [PATCH] fix default pg_wal dir --- scripts/env-data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/env-data.sh b/scripts/env-data.sh index 2f9bd97..a5df47b 100644 --- a/scripts/env-data.sh +++ b/scripts/env-data.sh @@ -3,7 +3,7 @@ POSTGRES_MAJOR_VERSION=$(cat /tmp/pg_version.txt) POSTGIS_MAJOR=$(cat /tmp/pg_major_version.txt) POSTGIS_MINOR_RELEASE=$(cat /tmp/pg_minor_version.txt) DEFAULT_DATADIR="/var/lib/postgresql/${POSTGRES_MAJOR_VERSION}/main" -DEFAULT_INITDB_WALDIR="/opt/postgresql/${POSTGRES_MAJOR_VERSION}/pg_waldir" +DEFAULT_INITDB_WALDIR="/var/lib/postgresql/${POSTGRES_MAJOR_VERSION}/pg_waldir" ROOT_CONF="/etc/postgresql/${POSTGRES_MAJOR_VERSION}/main" PG_ENV="$ROOT_CONF/environment" CONF="$ROOT_CONF/postgresql.conf"