[[[
Document inetd configuration in the svnserve manpage.
* subversion/svnserve/svnserve.8 (EXAMPLES): new section, documenting
how to run svnserve from inetd on a typical Unix box.
]]]
Index: subversion/svnserve/svnserve.8
===================================================================
--- subversion/svnserve/svnserve.8 (revisione 19891)
+++ subversion/svnserve/svnserve.8 (copia locale)
@@ -93,4 +93,22 @@
what authentication database to use and what authorization policies to
apply. See the \fBsvnserve.conf\fP(5) man page for details of that
file format.
-
+.\"
+.SH EXAMPLES
+.PP
+To run \fBsvnserve\fP from the \fBinetd\fP server, add a line to
+\fB/etc/services\fP (if it is not already present):
+.PP
+.nf
+ svn 3690/tcp subversion
+.fi
+.PP
+and a line to \fB/etc/inetd.conf\fP similar to:
+.PP
+.nf
+ svn stream tcp nowait \fIusername\fP /usr/local/bin/svnserve svnserve -i -r \fI/var/svn\fP
+.fi
+.PP
+where \fI/var/svn\fP is a directory containing your public repositories,
+and \fIusername\fP is a user with read access to the repositories (and
+write access, if desired, or if the repositories are BDB-format).
Received on Thu Jun 1 11:45:35 2006