Seven major issues to be aware of when starting the SVN service in Windows

Source: Internet
Author: User

Windows automatically starts the SVN Service
 
Create autoRunSVN. bat file, content: sccreateMySVNServerbinpath = "\" C: \ ProgramFilesSubversion \ svnserve \ "-- service-rH: \ homerepos" displayname = "SVNService" depend = Tcpipstart = autopause
 
Note:
 
(1) SC is the service configuration program that comes with windows, and MySVNServer is the service name, which seems useless.
 
(2) The binPath parameter indicates the installation path of the svnserve executable file. Because "ProgramFiles" in the path contains spaces, double quotation marks are required for the entire path. Double quotation marks are special characters and need to be transferred. Therefore, the two double quotation marks before and after the path must be written \".
 
The path of the pair is included in a pair of double quotation marks, which do not need to be escaped.
 
(4) When Windows starts the SVN service automatically, you must also note that displayname indicates the name displayed in the windows Service list. depend = Tcpip indicates that the tcpip service is required to run the svnserve service, start = auto indicates that it runs automatically after startup. After the service is installed, svnserve will not run automatically until the next boot.
 
(5) There is no space before the equal sign of binPath, and there is a space behind the equal sign. displaynamedependstart is also the same as that before service --, not-, and front of r is-
 
(6) to uninstall the svn service, run scdeletesvnserve on www.2cto.com.
 
(7) from "SC" to "auto" is in the same command SC and must be written in the same line. After the creation is successful, you can type service. msc in the run to view the system service, find the SVNService item, view the properties of the service, and use the interface provided by Windows to operate the SVNService.
 
You can also use the command line to start or stop the SVN service.
 
Start SVN service: C :\> netstartsvnserviceSVNService is starting. SVNService has been started successfully.
 
Stop Service: C: \> netstopsvnserviceSVNService is stopping. SVNService has been stopped successfully.
 
Delete the created Service C: \> scdeletesvnsvnservice. This section describes how to automatically start the SVN service after Windows is started.

From tearsmo's column

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.