SVNService No Longer Needed with Subversion 1.4

I’m reinstalling all my software (got a new PC at work – whoohoo!) and was digging around for SVNService – a wrapper that allowed you to run SVN as a Windows service. All the links I found on Google were dead and I thought I was hosed until I found this:

Windows Service Support for svnserve

svnserve can now be run as a native Windows service. This means that the
service can be started at system boot, or at any other time, without the
need for any wrapper code to start the service.

Please note this applies to 1.4 and I’m assuming all versions moving forward.

Here is what I ran (WinXP):

sc create svn.local binpath= "\"c:\program files\subversion\bin\svnserve.exe\" --service --root D:\svnrepo" displayname= "Subversion Repository" depend= Tcpip

Once you run this – you will need to actually start the service – either via the Windows Service GUI or hit the command line and do a ‘net start/stop yourservicename’

Important Update: 12/14/2006

Ray Camden notes that you have to type in the command exactly as shown above – with a space after each equals sign:

Yes: option= [space] “value” option2= [space] “value”
No: option=”value” option2=”value”

Recent Related Posts

18 thoughts on “SVNService No Longer Needed with Subversion 1.4

  1. Pingback: SVNService niet meer nodig met Subversion 1.4 « David’s dingen

  2. For me it worked better with “%ProgramFiles%\Subversion\bin\svnserve.exe”, that way you don’t have to escape the “.

  3. Pingback: moopoo.net » Blog Archive » Subversion Server Installation – Win 32

  4. Pingback: Running Subversion as Windows Service

  5. Pingback: Subversion on Windows, Part IIb: Running SVN as a Service (Vista) « r h e t o r i c a l c o n v e r s a t i o n s

  6. Pingback: lunaru | weblog | thoughts » Blog Archive » Setting up subversion server on a Windows machine.

  7. Pingback: Marco´s Professional Blog » Blog Archive » Setting up a version control server

  8. Make sure you include the spaces after the equals sign. I wasted about an hour because of this. Never thought spaces mattered that much…

  9. Pingback: Setting up subversion server on a Windows machine. - lunaru.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>