]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/infrastructure/mirror/etc::svc::git-daemon::run
more infrastructure
[xonotic/xonotic.git] / misc / infrastructure / mirror / etc::svc::git-daemon::run
diff --git a/misc/infrastructure/mirror/etc::svc::git-daemon::run b/misc/infrastructure/mirror/etc::svc::git-daemon::run
new file mode 100755 (executable)
index 0000000..eb45073
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+exec 2>&1
+echo 'git-daemon starting.'
+exec chpst -ugitdaemon \
+  "$(git --exec-path)"/git-daemon --verbose --base-path=/var/cache/git /var/cache/git