From 5069bdafc85506f397be575890d5374b69d54dc1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Jun 2008 21:30:04 -0400 Subject: [PATCH] Initial commit. --- .gitignore | 1 + log/run | 7 +++++++ run | 4 ++++ 3 files changed, 12 insertions(+) create mode 100644 .gitignore create mode 100755 log/run create mode 100755 run 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 -- 2.20.1