summaryrefslogtreecommitdiff
path: root/dev-vcs/git/files/git-daemon.confd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-01-31 12:17:34 +0200
committerV3n3RiX <venerix@rogentos.ro>2015-01-31 12:17:34 +0200
commit9eb46a5d6a8e0042d69684de4f0109da3184fbb6 (patch)
tree0bac21bba74f9739cbd6b26b8a26a2b6cad1868b /dev-vcs/git/files/git-daemon.confd
parentb9942d7d0b85222a2c9c5bc8a034e99f6af0443c (diff)
parent986aa85f934aeba29adffe4acf1afb7b445aa14f (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'dev-vcs/git/files/git-daemon.confd')
-rw-r--r--dev-vcs/git/files/git-daemon.confd19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-vcs/git/files/git-daemon.confd b/dev-vcs/git/files/git-daemon.confd
new file mode 100644
index 00000000..db77de5d
--- /dev/null
+++ b/dev-vcs/git/files/git-daemon.confd
@@ -0,0 +1,19 @@
+# conf.d file for git-daemon
+#
+# Please check man 1 git-daemon for more information about the options
+# git-daemon accepts. You MUST edit this to include your repositories you wish
+# to serve.
+#
+# Some of the meaningful options are:
+# --syslog --- Enables syslog logging
+# --verbose --- Enables verbose logging
+# --export-all --- Exports all repositories
+# --port=XXXX --- Starts in port XXXX instead of 9418
+#
+GITDAEMON_OPTS="--syslog --base-path=/var/git"
+
+# To run an anonymous git safely, the following user should be able to only
+# read your Git repositories. It should not able able to write to anywhere on
+# your system, esp. not the repositories.
+GIT_USER="nobody"
+GIT_GROUP="nobody"