summaryrefslogtreecommitdiffstats
path: root/debian/git-daemon-run.README.Debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:34:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:34:29 +0000
commitcb99946239e45aef68c2a7168262def132399550 (patch)
tree0949c7cb00d7da2987826edafff9d8fba93e95f0 /debian/git-daemon-run.README.Debian
parentAdding upstream version 1:2.43.0. (diff)
downloadgit-cb99946239e45aef68c2a7168262def132399550.tar.xz
git-cb99946239e45aef68c2a7168262def132399550.zip
Adding debian version 1:2.43.0-1.debian/1%2.43.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/git-daemon-run.README.Debian')
-rw-r--r--debian/git-daemon-run.README.Debian31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/git-daemon-run.README.Debian b/debian/git-daemon-run.README.Debian
new file mode 100644
index 0000000..ffde9a6
--- /dev/null
+++ b/debian/git-daemon-run.README.Debian
@@ -0,0 +1,31 @@
+git-daemon-run 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, wait five seconds for the git-daemon
+service to be picked up by runit, and check its status and logs:
+
+ sv stat git-daemon
+ cat /var/log/git-daemon/current
+
+See the sv(8) program on how to manage the service, or, alternatively,
+create a symbolic link /etc/init.d/git-daemon pointing to /usr/bin/sv to
+have an LSB compatible interface to control it:
+
+ ln -s /usr/bin/sv /etc/init.d/git-daemon
+ /etc/init.d/git-daemon status
+
+The git daemon by default looks into the directory /var/lib/git/ for
+repositories (this is configured in /etc/sv/git-daemon/run). 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 ~pape/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.
+
+ -- Gerrit Pape <pape@smarden.org> Sun, 03 Jun 2007 09:51:53 +0000