summaryrefslogtreecommitdiffstats
path: root/main/git/git-daemon.confd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-25 17:40:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-25 17:40:13 +0000
commit0f1cf32149ff57e3ceedd27310a8996c0e9fefaf (patch)
tree20249d43e95fcc7a49b9ec0cf59fb09c08a1fcc6 /main/git/git-daemon.confd
parent2c55ddfb09c8e21ca23f56394af498fb1f99e854 (diff)
downloadaports-0f1cf32149ff57e3ceedd27310a8996c0e9fefaf.tar.bz2
aports-0f1cf32149ff57e3ceedd27310a8996c0e9fefaf.tar.xz
main/git: add init.d script for git-daemon
Diffstat (limited to 'main/git/git-daemon.confd')
-rw-r--r--main/git/git-daemon.confd19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/git/git-daemon.confd b/main/git/git-daemon.confd
new file mode 100644
index 000000000..75b421680
--- /dev/null
+++ b/main/git/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 /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"