在命令行窗口,进入%domain_home%\bin目录,执行如下命令:
apusicsvc.exe -install
已经添加到windows服务的apusic,也可以从服务列表移除,通过如下命令:
apusicsvc.exe -uninstall
apusicsvc.exe -install -name "apusic"
apusicsvc.exe -uninstall apusic
apusicsvc.exe -install -Xms256M -Xmx256M
C:\Apusic-6.0\domains\mydomain\bin>apusicsvc.exe Usage: apusicsvc [-options] where options include: -install [Apusic args...] install Apusic as windows service -uninstall [Service Name] uninstall the Apusic service where Apusic args include: -cp -classpath <directories and zip/jar files separated by ;> set search path for application classes and resources -D<name>=<value> set a system property -X JVM non-standard options -name <service name> set the service name of server -root <directory> set the root directory of server for example: apusicsvc -install install Apusic as windows service without any startup params C:\Apusic-6.0\domains\mydomain\bin>