summaryrefslogtreecommitdiff
path: root/server-config/www.the-brannons.com/etc/sv/gitolite/run
diff options
context:
space:
mode:
Diffstat (limited to 'server-config/www.the-brannons.com/etc/sv/gitolite/run')
-rwxr-xr-xserver-config/www.the-brannons.com/etc/sv/gitolite/run5
1 files changed, 5 insertions, 0 deletions
diff --git a/server-config/www.the-brannons.com/etc/sv/gitolite/run b/server-config/www.the-brannons.com/etc/sv/gitolite/run
new file mode 100755
index 0000000..b8207d9
--- /dev/null
+++ b/server-config/www.the-brannons.com/etc/sv/gitolite/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+# You'll want spawn-fcgi and fcgiwrap to run gitolite as cgi.
+install -d --group=gitolite --mode=0755 --owner=gitolite /run/gitolite
+umask 0002
+exec spawn-fcgi -u gitolite -g gitolite -s /run/gitolite/gitolite.sock -n -d / -- /usr/bin/fcgiwrap -f