[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can I use xinetd instead of inetd?

From: Andy Peters <devel_at_latke.net>
Date: 2005-03-10 19:38:17 CET

Jonathan Coles wrote:

> The instructions for setting up svnserve discuss configuring inetd.
>
> Isn't inetd obsolete? I have been working with Linux for 3 years
> and I have only ever seen xinetd used.
>
> Mandrake (I am running 10.0) doesn't use one xinetd.conf file. It has
> a directory, /etc/xinetd.d, in which there is a file for each service
> entry.
> Here is my entry for svn:
>
> # svnserve configuration
> #
> service svn
> {
> socket_type = stream
> protocol = tcp
> wait = no
> user = svn
> server = /usr/local/bin/svnserve
> server_args = -i
> }
>
> This is my best interpretation of this inetd.conf example given in the
> manual:
> svn stream tcp nowait svnowner /usr/local/bin/svnserve svnserve -i
>
> Is this right? I suspect not. The only way I can get svnserve to work is by
> starting it from the command line:
>
> svnserve -d
>
> Can I make xinetd work? (How?) Or, do I have to use inetd?

I'm running svnserve under xinetd on Mac OS X. You need to make sure
that you add "disable=no" to your service entry. I simply rebooted to
force xinetd to reload its configuration.

-a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 10 19:40:47 2005

This is an archived mail posted to the Subversion Users mailing list.