remove unix socket from pg
This commit is contained in:
1
lib.nix
1
lib.nix
@@ -146,7 +146,6 @@ in
|
|||||||
PGDATA=$RUNTIME_PATH/${name}
|
PGDATA=$RUNTIME_PATH/${name}
|
||||||
PGHOST=$RUNTIME_PATH/${name}
|
PGHOST=$RUNTIME_PATH/${name}
|
||||||
PGPORT=${builtins.toString port}
|
PGPORT=${builtins.toString port}
|
||||||
mkdir -p "$PGHOST"
|
|
||||||
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
|
||||||
${setupScript}/bin/setup-postgres
|
${setupScript}/bin/setup-postgres
|
||||||
|
|||||||
Reference in New Issue
Block a user