summaryrefslogtreecommitdiff
path: root/files/config/Debian/git-daemon
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-04-01 13:29:43 -0400
committerMicah Anderson <micah@riseup.net>2011-04-01 13:29:43 -0400
commitf2846099d1e24589600d6a3a346ab92e5c65f843 (patch)
tree9bc6b1ba9502c3bd42b64a4834ef91dc7f7fce5a /files/config/Debian/git-daemon
parent74ccc33ff4f0158e80db4dbc64d4edc490acb26c (diff)
parent5c746aa9a4ee5748cbaa6812a508e3dd878b621c (diff)
Merge remote-tracking branch 'lavamind/master'
Conflicts: manifests/daemon.pp manifests/daemon/disable.pp manifests/daemon/vhosts.pp
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"