Anas Alnaffar
2010-Jan-12 14:40 UTC
[CentOS] I can't start the SVN server at the boot on CentOS
I have just installed an SVN server on a CentOS 5.4 machine. how I can start the SVN server automatically at the boot of the machine. Anas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100112/d7698e1c/attachment-0001.html>
Mathieu Baudier
2010-Jan-12 15:00 UTC
[CentOS] I can't start the SVN server at the boot on CentOS
> I have just installed an SVN server on a CentOS 5.4 machine.Did you install mod_dav_svn (Apach httpd module) or the standalone svnserve?> how I can start the SVN server automatically at the boot of the machine.If it is mod_dav_svn, just make sure that Apache httpd is started automatically: sudo /sbin/chkconfig httpd on (or via System > Administration > Services if you have the UI). I never used seriously the the standalone svnserve, but I guess you would have to start it explicitly either by: - adding the command in /etc/rc.local (called by each reboot, but may be not so clean?) - write your own script under /etc/init.d I would definitely suggest to use it as an httpd module (much easier and flexible). It requires a little Apache config though: http://svnbook.red-bean.com/en/1.5/svn.serverconfig.httpd.html (note that this link is for SVN 1.5, but the config is the same for SVN 1.4, which is the one provided by CentOS base)
John Doe
2010-Jan-12 15:14 UTC
[CentOS] I can't start the SVN server at the boot on CentOS
From: Anas Alnaffar <a.alnaffar at tijaritelecom.com>>I have just installed an SVN >server on a CentOS 5.4 machine. >how I can start the SVN server >automatically at the boot of the machine.How did you install it... from rpm? source? Using builtin auth or ssh? What does the documentation say? Does it provide an init.rd script? If so, check 'chkconfig' JD
Les Mikesell
2010-Jan-19 16:00 UTC
[CentOS] I can't start the SVN server at the boot on CentOS
On 1/12/2010 8:40 AM, Anas Alnaffar wrote:> I have just installed an SVN server on a CentOS 5.4 machine. > how I can start the SVN server automatically at the boot of the machine. >Unless you have some specific reason to run the standalone server, I'd recommend installing mod_dav_svn and using apache as the server (just edit /etc/httpd/conf.d/subversion.conf with the repository location). Also, the stock version supplied with Centos is very old. There's a more current version maintained in the rpmforge repo. -- Les Mikesell lesmikesell at gmail.com