Skip to content

Instantly share code, notes, and snippets.

@masaki
Created May 8, 2009 09:18
Show Gist options
  • Save masaki/108721 to your computer and use it in GitHub Desktop.
Save masaki/108721 to your computer and use it in GitHub Desktop.
git-daemon w/ xinetd
# default: off
# description: The git daemon allows git repositories to be exported using the git:// protocol.
service git
{
disable = no
type = UNLISTED
port = 9418
socket_type = stream
wait = no
user = git
server = /usr/bin/git-daemon
server_args = --inetd --export-all --base-path=/home/git/repositories
log_on_failure += USERID
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment