From c9623ed8abce99cb10b497377bc6821c2b70cd38 Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 13:28:39 +0400 Subject: [PATCH] fix script --- lib.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.nix b/lib.nix index c4c6fcf..14266cf 100644 --- a/lib.nix +++ b/lib.nix @@ -121,8 +121,8 @@ in echo "PostgreSQL initdb process completed" echo fi - substituteAllInPlace $PGDATA/postgresql.conf - cp ${configFile} $PGDATA/postgresql.conf + substituteAllInPlace "$PGDATA"/postgresql.conf + cp ${configFile} "$PGDATA"/postgresql.conf if [[ "$POSTGRES_RUN_INITIAL_SCRIPT" == "true" ]]; then echo echo "PostgreSQL is setting up the initial database"