fix script

This commit is contained in:
2025-03-17 13:38:56 +04:00
parent f5ab052719
commit 604660bff4

View File

@@ -124,7 +124,7 @@ in
echo "PostgreSQL initdb process completed" echo "PostgreSQL initdb process completed"
echo echo
fi fi
sed "s|@PGHOST|''${PGHOST}|g" ${configFile} > "$PGDATA"/postgresql.conf sed "s|@PGHOST@|''${PGHOST}|g" ${configFile} > "$PGDATA"/postgresql.conf
if [[ "$POSTGRES_RUN_INITIAL_SCRIPT" == "true" ]]; then if [[ "$POSTGRES_RUN_INITIAL_SCRIPT" == "true" ]]; then
echo echo
echo "PostgreSQL is setting up the initial database" echo "PostgreSQL is setting up the initial database"