Re: Setting up svnserve on Linux/Ubuntu
From: Ximon Eighteen <ximon.eighteen_at_int.greenpeace.org>
Date: 2005-09-27 10:03:52 CEST
Gregory Piņero wrote:
Four ideas (maybe three and a half):-
1. Add a script in /etc/init.d/ and use chkconfig to enable it.
1) will allow your computer to start svnserve when the computer starts
2)+3) can give you "respawning".
2) requires root access to modify the inittab line, and root access if
3) requires root just once to run DaemonTools then afterwards
A modification of 3) is to use a script to do the work on inittab for
Quick inittab primer:
inittab is the configuration file read by the init process (see man
svn:2345:respawn:/path/to/svnserve -d -r /myrepo/
And tell init that its' file has changed:-
telinit q (or just init q)
Now init will launch (if you are in runlevel 2, 3, 4 or 5) your command
To stop svnserve completely edit the line by prefixing it with a # and
Ximon
---------------------------------------------------------------------
|
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.