[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: Eric Seppanen <eds_at_reric.net>
Date: 2005-03-10 20:05:19 CET

On Thu, Mar 10, 2005 at 06:21:21AM -0500, Jonathan Coles wrote:
> Can I make xinetd work? (How?) Or, do I have to use inetd?

Your setup looks correct to me. Remember, you may have to 'killall -HUP
xinetd' or 'service xinetd reload' or something to get it to notice the
new file. Also, you _must_ have the service listed in /etc/services
under exactly the same name you use in the xinetd.d/ file.

My working setup, on redhat 8.0:

$ grep svnserve /etc/services
svnserve 3690/tcp # subversion standalone server

$ cat /etc/xinetd.d/svnserve
# default: off
# Subversion server
service svnserve
{
        disable = no
        socket_type = stream
        protocol = tcp
        user = svnserve
        group = svn
        wait = no
        server = /usr/bin/svnserve
        server_args = -i
        umask = 002
        only_from = 111.111.111.0/24 127.0.0.1
}

The only difference I see are my group&umask (to avoid permissions
conflicts with local users hitting the db directly), and the ip
restrictions. So I think you're on the right track.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 10 20:09:07 2005

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