将SpringBoot应用程序安装成windows服务启动
将SpringBoot应用程序安装成windows服务启动
下载Windows Service Wrapper
本文下载了winsw-2.3.0-bin.exe。
新建一个目录aiplatformService
在目录里面新建一个aiplatformService.xml,同时把winsw-2.3.0-bin.exe重命名陈aiplatformService.exe
必须这么做,否则无法安装启动服务。
编辑aiplatfomService.xml文件
<?xml version="1.0" encoding="utf-8" ?>
<service>
&l...