Problem description:
How to install Resin into Windows service )?
Solution:
You can install and remove the resin.exe parameters. For example:
DoS: >$ {resin_home} \ resin.exe-install
DoS: >$ {resin_home} \ resin.exe-Remove
In addition, you can specify the service name during installation to indicate which applications the Service corresponds to. For example:
DoS: >$ {resin_home} \ resin.exe-install-
DoS: >$ {resin_home} \ resin.exe-Remove-
DoS: >$ {resin_home} \ resin.exe-install-as myapplication
The service named myapplication is displayed in the Windows service!
PS:
The common method of window Registration Service (mentioned in the article on SVN installation in windows, which can be used flexibly ):
SC create svnserve binpath = "" C: Program filessubversionbinsvnserve.exe "-- service -- root C: repos" displayname = "Subversion" depend = TCPIP start = auto
After creating a service, you can add descriptions. It is displayed in Windows Service Manager.
SC description svnserve "Subversion server (svnserve )"
Note that the SC command line is special. In the key = value pair, there cannot be spaces between key and =, but there must be spaces before value