This commit is contained in:
Jabberwocky238
2026-07-15 12:09:39 -04:00
parent a0fe361c1f
commit 3ed6a7d804
4 changed files with 55 additions and 8 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ trap 'rm -rf "$WORK"; [ -n "$SG_PID" ] && kill "$SG_PID" 2>/dev/null' EXIT
mkdir -p "$ROOT"
# --- start simplegit (skip-auth: anon read+write, no console needed) ---
"$BIN" -rpc "$RPC" -ssh "" -root "$ROOT" -skip-auth >"$WORK/sg.log" 2>&1 &
"$BIN" daemon -rpc "$RPC" -ssh "" -root "$ROOT" -skip-auth >"$WORK/sg.log" 2>&1 &
SG_PID=$!
# wait until the HTTP port answers