Remove --syslog in git-daemon inetd documentation examples.

It is useless because --inetd implies --syslog.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Christian Couder 2006-10-26 06:33:07 +02:00 committed by Junio C Hamano
parent 119550af0c
commit d9c04ba3dd
2 changed files with 4 additions and 6 deletions

View File

@ -358,7 +358,7 @@ Run git-daemon to serve /pub/scm from inetd.::
------------ ------------
$ grep git /etc/inetd.conf $ grep git /etc/inetd.conf
git stream tcp nowait nobody \ git stream tcp nowait nobody \
/usr/bin/git-daemon git-daemon --inetd --syslog --export-all /pub/scm /usr/bin/git-daemon git-daemon --inetd --export-all /pub/scm
------------ ------------
+ +
The actual configuration line should be on one line. The actual configuration line should be on one line.
@ -378,7 +378,7 @@ service git
wait = no wait = no
user = nobody user = nobody
server = /usr/bin/git-daemon server = /usr/bin/git-daemon
server_args = --inetd --syslog --export-all --base-path=/pub/scm server_args = --inetd --export-all --base-path=/pub/scm
log_on_failure += USERID log_on_failure += USERID
} }
------------ ------------

View File

@ -165,8 +165,7 @@ git-daemon as inetd server::
+ +
------------------------------------------------ ------------------------------------------------
git stream tcp nowait nobody /usr/bin/git-daemon git stream tcp nowait nobody /usr/bin/git-daemon
git-daemon --inetd --verbose git-daemon --inetd --verbose --export-all
--syslog --export-all
/pub/foo /pub/bar /pub/foo /pub/bar
------------------------------------------------ ------------------------------------------------
@ -179,8 +178,7 @@ git-daemon as inetd server for virtual hosts::
+ +
------------------------------------------------ ------------------------------------------------
git stream tcp nowait nobody /usr/bin/git-daemon git stream tcp nowait nobody /usr/bin/git-daemon
git-daemon --inetd --verbose git-daemon --inetd --verbose --export-all
--syslog --export-all
--interpolated-path=/pub/%H%D --interpolated-path=/pub/%H%D
/pub/www.example.org/software /pub/www.example.org/software
/pub/www.example.com/software /pub/www.example.com/software