fix script
This commit is contained in:
4
lib.nix
4
lib.nix
@@ -145,8 +145,8 @@ in
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
mkdir -p ${lib.escapeShellArg runtimeDir}
|
mkdir -p ${lib.escapeShellArg runtimeDir}
|
||||||
|
|
||||||
PGDATA=$(realpath ${data_dir})
|
PGDATA=${data_dir}
|
||||||
PGHOST=$(realpath ${runtimeDir})
|
PGHOST=${runtimeDir}
|
||||||
PGPORT=${builtins.toString port}
|
PGPORT=${builtins.toString port}
|
||||||
echo "Starting postgres with PGDATA=''${PGDATA} PGHOST=''${PGHOST} PGPORT=''${PGPORT}"
|
echo "Starting postgres with PGDATA=''${PGDATA} PGHOST=''${PGHOST} PGPORT=''${PGPORT}"
|
||||||
export PGDATA PGHOST PGPORT
|
export PGDATA PGHOST PGPORT
|
||||||
|
|||||||
Reference in New Issue
Block a user