summaryrefslogtreecommitdiff
path: root/pinyconfigs/etc/sv/git-daemon/run
diff options
context:
space:
mode:
Diffstat (limited to 'pinyconfigs/etc/sv/git-daemon/run')
-rwxr-xr-xpinyconfigs/etc/sv/git-daemon/run4
1 files changed, 4 insertions, 0 deletions
diff --git a/pinyconfigs/etc/sv/git-daemon/run b/pinyconfigs/etc/sv/git-daemon/run
new file mode 100755
index 0000000..307377e
--- /dev/null
+++ b/pinyconfigs/etc/sv/git-daemon/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1
+echo 'git daemon starting.'
+exec chpst -ugitdaemon git daemon --verbose --base-path=/srv/git