Initial commit. master
authorroot <root@deleuze.hcoop.net>
Fri, 27 Jun 2008 01:30:04 +0000 (21:30 -0400)
committerroot <root@deleuze.hcoop.net>
Fri, 27 Jun 2008 01:30:04 +0000 (21:30 -0400)
.gitignore [new file with mode: 0644]
log/run [new file with mode: 0755]
run [new file with mode: 0755]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..23e60ef
--- /dev/null
@@ -0,0 +1 @@
+supervise
diff --git a/log/run b/log/run
new file mode 100755 (executable)
index 0000000..ac51c0e
--- /dev/null
+++ b/log/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+LOG=/var/log/git-daemon
+
+test -d "$LOG" || mkdir -p -m2750 "$LOG" && chown gitlog:adm "$LOG"
+exec chpst -ugitlog /usr/bin/svlogd -tt "$LOG"
diff --git a/run b/run
new file mode 100755 (executable)
index 0000000..f09f38f
--- /dev/null
+++ b/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1
+echo 'git-daemon starting.'
+exec git-daemon --verbose --export-all --base-path=/var/cache /var/cache/git