SVN creates a service in Windows

Source: Internet
Author: User

I have not done a good job for the past few times. Today I have made some time to solve this problem, and the results have been completed in a short time. I will repost it and show it to you:

 

SC create svnservice binpath = "C:/program files/subversion/bin/svnserve.exe -- service-R D:/mysvn" displayname = "svnservice" depend = TCPIP start = auto
Binpath specifies the svnserve path and command.
Note that the parameters are -- service, not -- daemon.-D,-I,-T, and other parameters cannot be used. Start = auto indicates that the service is automatically started.
FeatureDo not note that there must be no space on the left of the equal sign, but a space on the right.

I have not explained this.

 

If you want to add the Host Name of the listener in win7, otherwise the service is created successfully and the port telnet is successful, the client cannot be connected.

SC create svnservice binpath = "C:/program files/sliksvn/bin/svnserve.exe -- service-R D: /Java/SVN -- listen-host 127.0.0.1 "displayname =" svnservice "depend = TCPIP start = auto

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.