summaryrefslogtreecommitdiff
path: root/files/config/Debian/git-daemon
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-02-09 11:19:01 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-02-09 11:19:01 -0500
commit9dd0aaaca05026a763333ef15da43f74890a50ad (patch)
tree6e4851f5c605a71228de58a083d288fbc645fd67 /files/config/Debian/git-daemon
parent33e4b7be056c3e0b25c8864f4a56082817c38158 (diff)
provide initial Debian compatibility for git and git::daemon classes
Diffstat (limited to 'files/config/Debian/git-daemon')
-rw-r--r--files/config/Debian/git-daemon22
1 files changed, 22 insertions, 0 deletions
diff --git a/files/config/Debian/git-daemon b/files/config/Debian/git-daemon
new file mode 100644
index 0000000..b25e1e7
--- /dev/null
+++ b/files/config/Debian/git-daemon
@@ -0,0 +1,22 @@
+# Defaults for the git-daemon initscript
+
+# Set to yes to start git-daemon
+RUN=yes
+
+# Set to the user and group git-daemon should run as
+USER=nobody
+GROUP=nogroup
+
+# Set the base path and the directory where the repositories are.
+REPOSITORIES="/srv/git"
+
+# Provide a way to have custom setup.
+#
+# Note, when ADVANCED_OPTS is defined the REPOSITORIES setting is ignored,
+# so take good care to specify exactly what git-daemon have to do.
+#
+# Here is an example from the man page:
+#ADVANCED_OPTS="--verbose --export-all \
+# --interpolated-path=/pub/%IP/%D \
+# /pub/192.168.1.200/software \
+# /pub/10.10.220.23/software"