如何把resin安装成window service(windows服务)?
问题描述:如何把resin安装成window service(windows服务)?
解决办法:
可以通过resin.exe的参数install和remove完成,例如:
dos:\> ${resin_home}\resin.exe -install
dos:\> ${resin_home}\resin.exe -remove
另外,安装时可以指定服务名,用以标明服务对应哪些应用application,例如:
dos:\> ${resin_home}\resin.exe -install-as
dos:\> ${resin_home}\resin.exe -remove-as
dos:\> ${resin_home}\resin.exe -install-as myapplication
就会在windows服务里看到有名为myapplication的服务!
页:
[1]