Modification : etc/sv/ : polissage et généralise un peu.
[lhc/ateliers.git] / etc / sv / git-daemon / run
diff --git a/etc/sv/git-daemon/run b/etc/sv/git-daemon/run
new file mode 100755 (executable)
index 0000000..c994c65
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh -efux
+exec 2>&1
+exec /usr/bin/chpst \
+ -u git-daemon:git-daemon \
+ /usr/bin/git daemon \
+ --base-path=/home/git/pub/git \
+ --interpolated-path=/home/git/srv/git/%H%D \
+ --reuseaddr \
+ --syslog \
+ --user-path=pub/git \
+ --verbose \
+ -- \
+ /home/git/pub/git