You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Peter Samuelson <pe...@p12n.org> on 2006/06/01 09:45:02 UTC

[PATCH] document inetd config in svnserve.8

[[[
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).

Re: [PATCH] document inetd config in svnserve.8

Posted by Max Bowsher <ma...@ukf.net>.
Peter Samuelson wrote:
> [[[
> 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.
> ]]]

My initial reaction is that this is merely a restatement of inetd
fundamentals specifically parametrized for svnserve, and as such, is
material better suited for a newbie-howto than a man page.

I'm not dead set against this if you really really think it is a good
idea, but it's not really the sort of thing I'd expect to see in a man page.

Max.