This commit is contained in:
2025-11-01 21:18:29 +08:00
parent 35478d43d6
commit a607719b46
119 changed files with 815 additions and 1221 deletions

View File

@@ -47,9 +47,9 @@ function Init {
function StartProc {
Print Starting pgsql ...
local sock="/tmp/.s.PGSQL.$(su - postgres -c 'postmaster -C port')"
local sock="/tmp/.s.PGSQL.$(su - postgres -c 'postgres -C port')"
rm -f $sock
su - postgres -c postmaster &
su - postgres -c postgres &
PIDS="$PIDS $!"
while sleep 1; do
[ -e $sock ] && break || echo -n .