1 git-daemon-run for Debian
2 -------------------------
4 This package enables a git-daemon service. This allows people to use a
5 git:// URL to access your repositories.
7 After installing this package, wait five seconds for the git-daemon
8 service to be picked up by runit, and check its status and logs:
11 cat /var/log/git-daemon/current
13 See the sv(8) program on how to manage the service, or, alternatively,
14 create a symbolic link /etc/init.d/git-daemon pointing to /usr/bin/sv to
15 have an LSB compatible interface to control it:
17 ln -s /usr/bin/sv /etc/init.d/git-daemon
18 /etc/init.d/git-daemon status
20 The git daemon by default looks into the directory /var/lib/git/ for
21 repositories (this is configured in /etc/sv/git-daemon/run). It expects
22 the repositories' .git subdirectories in that directory, symlinks
23 pointing to the corresponding subdirectories in the repositories are just
26 ln -s ~pape/git/foo/.git /var/lib/git/foo.git
28 This makes 'git-clone git://git.example.org/git/foo' to clone the foo
29 repository on remote machines work.
31 -- Gerrit Pape <pape@smarden.org> Sun, 03 Jun 2007 09:51:53 +0000