diff options
author | Tommi Virtanen <tv@eagain.net> | 2007-11-25 18:14:29 +0200 |
---|---|---|
committer | Tommi Virtanen <tv@eagain.net> | 2007-11-25 18:14:29 +0200 |
commit | d875e0fe5a5d04f0e774d4c51a374924141fc9f4 (patch) | |
tree | c62078b560fce80cba941d5493a4025de54a7042 /etc-event.d-local-git-daemon | |
parent | Add TODO note. (diff) | |
download | gitosis-gentoo-d875e0fe5a5d04f0e774d4c51a374924141fc9f4.tar.gz gitosis-gentoo-d875e0fe5a5d04f0e774d4c51a374924141fc9f4.tar.bz2 gitosis-gentoo-d875e0fe5a5d04f0e774d4c51a374924141fc9f4.zip |
Add instructions for using git-daemon.
Diffstat (limited to 'etc-event.d-local-git-daemon')
-rw-r--r-- | etc-event.d-local-git-daemon | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/etc-event.d-local-git-daemon b/etc-event.d-local-git-daemon new file mode 100644 index 0000000..e1349a9 --- /dev/null +++ b/etc-event.d-local-git-daemon @@ -0,0 +1,11 @@ +start on startup +stop on shutdown + +exec /usr/bin/git-daemon \ + --user=git --group=git \ + --user-path=public-git \ + --verbose \ + --reuseaddr \ + --base-path=/srv/example.com/git/repositories/ \ + /srv/example.com/git/repositories/ +respawn |