Windows set svn server-side self-starting

  

Check some information on the Internet, the bat file is also built, can also be self-started, but how to stop him?

Then see people start and stop the service.

Starting the service: C:\\>net start svnservice The SVNService service is starting. The SVNService service has started successfully.

Stop service: C:\\>net stop svnservice The SVNService service is stopping. The SVNService service has stopped successfully.

Delete the established service C:\\>sc delete svn svnservice

But I knocked it over, no.

Then I went to the installation directory again, and then knocked it again, or not.

Fainted. But think about it, maybe the service name is wrong, then open the setupservice.bat file to see,

content is as follows

sc create svnserve binpath= "D:\\Subversion\\bin\\svnserve. Exe --service -r E:\\wamp\\www" depend= Tcpip start= auto

sc start svnserve

pause

See no, there is a create, that The name that follows is definitely the name of the service.

Haha, then directly hit net stop svnserve, OK, the service stops.

Twister net start svnserve, OK, the service starts.

Thoughts learned, 1, the ability to improve troubleshooting

2, the creation of WIN service, start, stop understanding, and thus extended to linux, previously used to follow Tutorial
Set mysql boot from the start, do not know what is the principle, anyway, created. The concept is not so vague now.

Copyright © Windows knowledge All Rights Reserved