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>
Christian Couder committed
Oct 26, 2006 at 06:33 UTC
d9c04ba3ddd0945ef18657a2a373c5edfe86ef7c
2 files changed
+4
-6
Documentation/everyday.txt
+2
-2
@@ -358,7 +358,7 @@ Run git-daemon to serve /pub/scm from inetd.::
358
------------
359
$ grep git /etc/inetd.conf
360
git stream tcp nowait nobody \
361
- /usr/bin/git-daemon git-daemon --inetd --syslog --export-all /pub/scm
361
+ /usr/bin/git-daemon git-daemon --inetd --export-all /pub/scm
362
------------
363
+
364
The actual configuration line should be on one line.
@@ -378,7 +378,7 @@ service git
378
wait = no
379
user = nobody
380
server = /usr/bin/git-daemon
381
- server_args = --inetd --syslog --export-all --base-path=/pub/scm
381
+ server_args = --inetd --export-all --base-path=/pub/scm
382
log_on_failure += USERID
383
}
384
------------
Documentation/git-daemon.txt
+2
-4
@@ -165,8 +165,7 @@ git-daemon as inetd server::
165
+
166
------------------------------------------------
167
git stream tcp nowait nobody /usr/bin/git-daemon
168
- git-daemon --inetd --verbose
169
- --syslog --export-all
168
+ git-daemon --inetd --verbose --export-all
169
/pub/foo /pub/bar
170
------------------------------------------------
171
@@ -179,8 +178,7 @@ git-daemon as inetd server for virtual hosts::
178
+
179
------------------------------------------------
180
git stream tcp nowait nobody /usr/bin/git-daemon
182
- git-daemon --inetd --verbose
183
- --syslog --export-all
181
+ git-daemon --inetd --verbose --export-all
182
--interpolated-path=/pub/%H%D
183
/pub/www.example.org/software
184
/pub/www.example.com/software