aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/templates
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-04-10 00:39:47 -0400
committerbnewbold <bnewbold@robocracy.org>2016-04-10 01:41:12 -0400
commit8e24c71b16c55752a4cdbf37748b57317d5abbfd (patch)
tree17d90a9dd822b705078a2c318c271df2298d2b05 /roles/git/templates
parent1495cb21f26faa0fa1e17e92e601b8e5b6ac785b (diff)
downloadinfra-8e24c71b16c55752a4cdbf37748b57317d5abbfd.tar.gz
infra-8e24c71b16c55752a4cdbf37748b57317d5abbfd.zip
git: add git-daemon config
Diffstat (limited to 'roles/git/templates')
-rw-r--r--roles/git/templates/etc_default_git-daemon.j216
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/git/templates/etc_default_git-daemon.j2 b/roles/git/templates/etc_default_git-daemon.j2
new file mode 100644
index 0000000..36863c0
--- /dev/null
+++ b/roles/git/templates/etc_default_git-daemon.j2
@@ -0,0 +1,16 @@
+# Defaults for git-daemon initscript
+# sourced by /etc/init.d/git-daemon
+# installed at /etc/default/git-daemon by the maintainer scripts
+
+#
+# This is a POSIX shell fragment
+#
+
+GIT_DAEMON_ENABLE=true
+GIT_DAEMON_USER=git
+GIT_DAEMON_BASE_PATH=/srv/gitolite/repositories
+GIT_DAEMON_DIRECTORY=/srv/gitolite/repositories
+
+# Additional options that are passed to the Daemon.
+GIT_DAEMON_OPTIONS=""
+