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

RE: How to configure subversion so that it automatically runs everytime the machine start?

From: Erik Hemdal <erik_at_comprehensivepower.com>
Date: 2007-01-15 17:48:25 CET

>
> On Sun, Jan 14, 2007 at 05:07:06PM -0600, ying lcs wrote:
>
> > Hi,
> >
> > I read this blog to upset up subversion on linux:
> > http://www.darronschall.com/weblog/archives/000202.cfm
> >
> > In there it said:
> > # As the svn user, run the following command to start the
> Subversion
> > server:
> >
> > * svnserve -t -r /srv/svn/repositories
> >
> > It works. But my question is how can I configure
> subversion so that
> > it starts automatically everytime my machine starts?
>
> Depends on the OS.
> For FreeBSD, you put a little script in /usr/local/etc/rc.d/
> When the system comes up, it will call the script with 'start' as
> the main argument. When the system shuts down it will call that
> script with 'stop' as the argument. If you need any other variables
> set, put them in /etc/rc.conf something like SUBVER="some string"
>
> ////jerry
>

It is also possible to use the xinetd service to run Subversion on an
as-needed basis, so it does not have to run continuously. As soon as
someone makes a request for SVN service, xinetd looks in its configuration
files to know how to start Subversion for you. I got this to work by
reading the manpage and then creating a configuration file for svn by
starting from one for CVS that was already provided by my distribution.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 15 18:27:06 2007

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