SVN: Start SVN as Windows Service

Type into cmd:
sc create svn
binpath= "\"C:\Program Files\Subversion\bin\svnserve.exe\" --service -r \"C:\Program Files\Subversion\repos\""
displayname= "Subversion Server"
depend= Tcpip
start= auto

Should read: [sc] created successfully.

Now use IPCONFIG to find your IP, on a remote computer type: svn://ipaddress:3690


To delete a service:
sc delete , ie.
sc delete svn


Note:
In the sc create example, the service name is actually svn and NOT Subversion Server.

No comments: