aboutsummaryrefslogtreecommitdiff
path: root/git/run
diff options
context:
space:
mode:
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}