aboutsummaryrefslogtreecommitdiff
path: root/git/run
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-04-04 05:36:22 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-04-04 05:36:22 +0000
commit610064afa705f6f78163a760887406bbf5ba6fa0 (patch)
tree9cfd87e8b8a89987eccf6c025e17ca83835cae3a /git/run
parentc9423b08f156801331488dadb11fcb8314210549 (diff)
downloadalicelinux-610064afa705f6f78163a760887406bbf5ba6fa0.tar.gz
alicelinux-610064afa705f6f78163a760887406bbf5ba6fa0.zip
Woodpecker CI 53691aff6db6cd2f94bf4828a9e579a65628d885 [SKIP CI]
Diffstat (limited to 'git/run')
-rwxr-xr-xgit/run12
1 files changed, 12 insertions, 0 deletions
diff --git a/git/run b/git/run
new file mode 100755
index 00000000..da8f3e1e
--- /dev/null
+++ b/git/run
@@ -0,0 +1,12 @@
+#!/bin/sh
+exec 2>&1
+
+[ -f ./conf ] && . ./conf
+
+exec chpst -u git \
+ git daemon \
+ --base-path=${git_home:-/var/git} \
+ --export-all \
+ --reuseaddr \
+ --informative-errors \
+ --verbose ${git_opts}