From: root Date: Fri, 27 Jun 2008 01:30:04 +0000 (-0400) Subject: Initial commit. X-Git-Url: https://git.hcoop.net/hcoop/zz_old/service/git-daemon.git/commitdiff_plain/HEAD Initial commit. --- 5069bdafc85506f397be575890d5374b69d54dc1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..23e60ef --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +supervise diff --git a/log/run b/log/run new file mode 100755 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 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