From 0c1c9e9ae9a84d20ea90b7ebcaa9e36d8344b3e1 Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 13:24:40 +0400 Subject: [PATCH] fix script --- lib.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib.nix b/lib.nix index a6000ae..80830bf 100644 --- a/lib.nix +++ b/lib.nix @@ -87,7 +87,7 @@ in ) // config // { - unix_socket_directories = "../socket"; + unix_socket_directories = "@PGHOST@"; inherit port listen_addresses; }; toStr = @@ -119,6 +119,7 @@ in echo "PostgreSQL initdb process completed" echo fi + substituteAllInPlace $PGDATA/postgresql.conf cp ${configFile} $PGDATA/postgresql.conf if [[ "$POSTGRES_RUN_INITIAL_SCRIPT" == "true" ]]; then echo