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