Multiple Subversion Services on Windows
Posted by Ryan Baxter Wed, 10 Jun 2009 20:13:00 GMT
It’s possible, but not often necessary, to run multiple instances of the Subversion service on Microsoft Windows. At work, the source code of IT staff and Engineers is kept on two different servers with a third hosting Subversion. Since one of our Engineering departments recently decided to test Subversion as their SCM system, I had to install an additional service to manage their repositories.
I have a horrible time remembering the syntax for creating a Subversion service. That said, I’ve posted my worst case scenario for future reference. The arguments include UNC paths, ports, and lots of slashes. Next time, with the help of Google, I’ll remember. Oh, and if you’re receiving a 1053 error, it may be that you need to run the service under an account with sufficient rights to the UNC path used as the root (-r) Subversion repository.
sc create svnserve_it binpath= "\"C:\Program Files\CollabNet Subversion Server\svnserve.exe\" --service -r \"\\ITFILESERVER\Repositories\" --listen-port 3690" displayname= "Subversion Server (IT)" depend= tcpip start= autosc create svnserve_engineering binpath= "\"C:\Program Files\CollabNet Subversion Server\svnserve.exe\" --service -r \"\\ENGFILESERVER\Repositories\" --listen-port 3691" displayname= "Subversion Server (Engineering)" depend= tcpip start= auto- Posted in Code Snippets
- Meta no comments, permalink, rss, atom

