summaryrefslogtreecommitdiffstats
path: root/debian/git-daemon-sysvinit.README.Debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:49:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:49:37 +0000
commit43fb36463ac1df398f62397b36e570aa9af94d91 (patch)
treea69979c10da617a3df2d55ecde5503f1c0ec1126 /debian/git-daemon-sysvinit.README.Debian
parentAdding upstream version 1:2.30.2. (diff)
downloadgit-43fb36463ac1df398f62397b36e570aa9af94d91.tar.xz
git-43fb36463ac1df398f62397b36e570aa9af94d91.zip
Adding debian version 1:2.30.2-1+deb11u2.debian/1%2.30.2-1+deb11u2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/git-daemon-sysvinit.README.Debian')
-rw-r--r--debian/git-daemon-sysvinit.README.Debian31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/git-daemon-sysvinit.README.Debian b/debian/git-daemon-sysvinit.README.Debian
new file mode 100644
index 0000000..cea76b6
--- /dev/null
+++ b/debian/git-daemon-sysvinit.README.Debian
@@ -0,0 +1,31 @@
+git-daemon-sysvinit for Debian
+------------------------------
+
+This package enables a git-daemon service. This allows people to use a
+git:// URL to access your repositories.
+
+After installing this package, the daemon needs to be enabled in
+/etc/default/git-daemon by setting:
+
+ GIT_DAEMON_ENABLE=false
+
+to:
+
+ GIT_DAEMON_ENABLE=true
+
+After that, the git daemon can be started with:
+
+ # /etc/init.d/git-daemon start
+
+The git daemon by default looks into the directory /var/lib/git/ for
+repositories (this is configured in /etc/default/git-daemon). It expects
+the repositories' .git subdirectories in that directory, symlinks
+pointing to the corresponding subdirectories in the repositories are just
+fine, e.g.:
+
+ ln -s ~daniel/git/foo/.git /var/lib/git/foo.git
+
+This makes 'git-clone git://git.example.org/git/foo' to clone the foo
+repository on remote machines work.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 19 Oct 2010 00:54:58 +0200