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

RE: Running svnserve automatically

From: Jason Dunham <jdunham_at_SFIS.com>
Date: 2004-03-29 22:27:23 CEST

Peter:

I'm not sure whether anyone replied already; my email has been a bit
dodgy.

You only need svnserve to run when an incoming connection is received at
the subversion port (3690).

In the Subversion manual, chapter 6, section "Invoking the Server" there
is some info about adding a line to /etc/services. On my version of
Linux (Fedore Core 1), this info is used by xinetd to start the server
when a connection comes in.

To make this work, I had to add a file called /etc/xinetd.d/svnserve,
containing:

#line added for port 3690/tcp in /etc/services
service svnserve
{
        socket_type = stream
        user = svn
        wait = no
        server = /usr/local/bin/svnserve
        server_args = --inetd --root /path/to/my/repos
}

Can I suggest that some of this be added to the manual?

Jason

-----Original Message-----
From: Peter Ingold [mailto:pi@sigmadata.de]
Sent: Monday, March 29, 2004 3:17 AM
To: users@subversion.tigris.org
Subject: Running svnserve automatically

Hi,
 
I don't want to run 'svnserve -d' manually each time my computer has
booted. How can I make svnserve run automatically after Linux has booted
?
 
Thanks,
Peter.
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 29 22:27:54 2004

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