After the subversion is installed, the installation directory contains the svnserve program.
Use the SC command of windows to add it as an automatically started System Service:
SC create MySVNServer binpath = "D: \ Program Files \ Subversion \ bin \ svnserve.exe -- service-r G: \ Repositories" displayname = "SVNService" depend = Tcpip start = auto
Note:
1. binpath = "", displayname = "", which are parameters of the SC command. Note that spaces cannot be saved.
2. -- service-r G: \ Repositories is the parameter of the svnserve command.
After the command is executed, you can see the added System Service in the "my computer"-> "management" window, or the Operating System Service start/stop.
Freelancer.com-the top part-time software job website
Part-time programming, development, C/C ++/C #, PHP, Web development, ASP, outsourcing projects, foreign private jobs, part-time programmers, outsourcing development, foreign Project outsourcing, website outsourcing project
Author "techlife"