initial commit
[debian/git-daemon] / debian / README.Debian
1 git-daemon-sysv for Debian
2 --------------------------
3
4 This package enables a git-daemon service.  This allows people to use a
5 git:// URL to access your repositories.
6
7 After installing this package, the daemon needs to be enabled in
8 /etc/default/git-daemon by setting:
9
10   GIT_DAEMON_ENABLE=false
11
12 to:
13
14   GIT_DAEMON_ENABLE=true
15
16 After that, the git daemon can be started with:
17
18   # /etc/init.d/git-daemon start
19
20 The git daemon by default looks into the directory /var/cache/git/ for
21 repositories (this is configured in /etc/default/git-daemon).  It expects
22 the repositories' .git subdirectories in that directory, symlinks
23 pointing to the corresponding subdirectories in the repositories are just
24 fine, e.g.:
25
26  ln -s ~daniel/git/foo/.git /var/cache/git/foo.git
27
28 This makes 'git-clone git://git.example.org/git/foo' to clone the foo
29 repository on remote machines work.
30
31  -- Daniel Baumann <daniel@debian.org>  Tue, 19 Oct 2010 00:54:58 +0200