I want to install a SVN server on a Windows 7 64 bit machine (just for me).
I used Slik SVN and set up a service with:
sc create svnserver binpath= "C:\Program Files\SlikSvn\bin\svnserve.exe --service -r H:\svn\repository" displayname= "Subversion" depend= Tcpip start= auto
This is listed in the list of services, but can not be started:
C:\Windows\system32>sc create svnserver binpath= "C:\Program Files\SlikSvn\bin\s
vnserve.exe --service -r H:\svn\repository" displayname= "Subversion" depend= Tc
pip start= auto
[SC] CreateService ERFOLG
C:\Windows\system32>net start svnserver
Der Dienst reagiert auf die Kontrollfunktion nicht.
Any idea why this does not work?
From Svnserve Based Server page of TortoseSVN docs, "Run svnserve as a Service" chapter. Your path have space in name
If any of the paths include spaces, you have to use (escaped) quotes around the path, like this:
sc create svnserve binpath= "
\"C:\Program Files\Subversion\bin\svnserve.exe\"
--service --root c:\repos" displayname= "Subversion"
depend= tcpip start= auto
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With