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

Re: Setting up svnserve on Linux/Ubuntu

From: Nick Vargish <nick_at_vargish.org>
Date: 2005-09-27 12:33:25 CEST

On Sep 27, 2005, at 1:07 AM, Gregory Piņero wrote:
> And everything works great, but now I want this daemon to be
> started whenever the computer is started and to be "respawned" if
> the process
> ever dies? How I would I go about doing this? (I'm new to linux)

Create a file /etc/xinetd.d/svn that has the following contents:

service svn
     disable = no
     port = 3690
     socket_type = stream
     protocol = tcp
     wait = no
     user = svn
     server = /usr/bin/svnserve
     server_args = -i -r /myrepo

Replace /myrepo with the appropriate directory, of course. And set the
"user" variable to the user who owns the repository directory. Then
restart xinetd with "sudo /etc/init.d/xinetd restart".

You should be good to go.


Nick Vargish  ::  nick_at_vargish.org  ::  http://nick.vargish.org
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 27 12:35:18 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.