summaryrefslogtreecommitdiff
path: root/temp-postgres.sh
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2026-04-16 01:33:50 +0200
committerStefan Kreutz <mail@skreutz.com>2026-04-16 01:33:50 +0200
commitd07eaac0131f81db0dbacfbdae211e89254e2a05 (patch)
tree30ac50929a59d59f2f063eb702f3f910e7e41108 /temp-postgres.sh
parentc3eb3d7264fd77ef88320251f910accd6df8164a (diff)
downloadtemp-postgres-d07eaac0131f81db0dbacfbdae211e89254e2a05.tar.gz
Listen on UNIX domain socket only
This is a breaking change.
Diffstat (limited to 'temp-postgres.sh')
-rwxr-xr-xtemp-postgres.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/temp-postgres.sh b/temp-postgres.sh
index 96f90d2..e9a901c 100755
--- a/temp-postgres.sh
+++ b/temp-postgres.sh
@@ -81,7 +81,7 @@ initdb --pgdata="${tmpdir}" --username="${username}" || {
}
# Serve the directory
-( postgres -k "${tmpdir}" -D "${tmpdir}" </dev/null ) &
+( postgres -h "" -k "${tmpdir}" -D "${tmpdir}" </dev/null ) &
postgres_pid=$!
# Test the connection
Generated by cgit. See skreutz.com for my tech blog and contact information.