[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: Jerry McAllister <jerrymc_at_msu.edu>
Date: 2007-01-15 16:58:42 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

>
> Thank you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 15 17:33:39 2007

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.