fix script

This commit is contained in:
2025-03-17 13:24:40 +04:00
parent 24fc414926
commit 0c1c9e9ae9

View File

@@ -87,7 +87,7 @@ in
) )
// config // config
// { // {
unix_socket_directories = "../socket"; unix_socket_directories = "@PGHOST@";
inherit port listen_addresses; inherit port listen_addresses;
}; };
toStr = toStr =
@@ -119,6 +119,7 @@ in
echo "PostgreSQL initdb process completed" echo "PostgreSQL initdb process completed"
echo echo
fi fi
substituteAllInPlace $PGDATA/postgresql.conf
cp ${configFile} $PGDATA/postgresql.conf cp ${configFile} $PGDATA/postgresql.conf
if [[ "$POSTGRES_RUN_INITIAL_SCRIPT" == "true" ]]; then if [[ "$POSTGRES_RUN_INITIAL_SCRIPT" == "true" ]]; then
echo echo