ID #1084

How can i setup svnserve as autostart in debian?

The subversion server svnserve doesnt have an default script in /etc/init.d for easy starting the server so we have to create our own one which is very easy.

 Go to the script directory

cd /etc/init.d

create a new script file

nano svnserve

input the following single line of code in the file

svnserve -d

set the right permissions to make it executable

chmod +x svnserve

add the script to autostart

update-rc.d svnserve defaults

 finished! you can start svnserve with

/etc/init.d/svnserve

and it should be started automatically after server restart!

 

Tags: svn subversion

Related entries:

Last update: 2009-09-28 20:46
Author: Christian Trummer
Revision: 1.0

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry