windows bat脚本 加入到系统服务开机自启动

加入开机的系统服务
参考: https://github.com/winsw/winsw
使用示例

- 2.1 配置文件 myapp.xml 示例

```xml

Service1
Service1
This service xxx 
C:\xxx\daemon.bat



```

- 2.2 创建服务 winsw install myapp.xml
- 2.3 启动服务 winsw start myapp.xml

你可能感兴趣的:(软件,windows,服务器)