windows|windows 测试服务管理工具

链接: https://pan.baidu.com/s/1jDl4KzS_VDAU4LtedU7IIg 提取码: bw3j
【需依赖 Microsoft .NET Framework 4.5】
运行 windows|windows 测试服务管理工具
文章图片
新建配置 windows|windows 测试服务管理工具
文章图片
修改配置 windows|windows 测试服务管理工具
文章图片
修改程序配置 windows|windows 测试服务管理工具
文章图片
简单使用 windows|windows 测试服务管理工具
文章图片
windows|windows 测试服务管理工具
文章图片
配置文件参考说明 【windows|windows 测试服务管理工具】conf.json
{ "cmd": "cmd.exe",#默认 或指定cmd.exe 路径 "hide": false,#是否在第一次运行时隐藏窗口 "refreshTime": 3000,#每次刷新的时间间隔 (毫秒) "appList": [{ "name": "Apache24",#服务名称 "rootPath": "Apache24",#菜单中点击打开的文件夹路径 "start": "cdApache24/bin/ &wscript start.vbs",#启动命令 "stop": "cdApache24/bin/ &pv -f -k httpd.exe -q",#停止命令 "pidFile": "./Apache24/logs/httpd.pid",#用于监听的pid文件路径 }, { "name": "Lighttpd", "rootPath": "lighttpd-1.4.49-1-win32-ssl-upx", "start": "cd lighttpd-1.4.49-1-win32-ssl-upx/lighttpd/ &wscript start.vbs", "stop": "cdlighttpd-1.4.49-1-win32-ssl-upx/lighttpd/ &pv -f -k lighttpd.exe -q", "pidFile": "./lighttpd-1.4.49-1-win32-ssl-upx/lighttpd/logs/lighttpd.pid", }, { "name": "MySQL", "rootPath": "mongodb", "start": "net start mysql", "stop": "net stop mysql", "pidFile": "./mongodb/logs/mongo.pid", }, { "name": "Mongodb", "rootPath": "mongodb", "start": "cd mongodb/bin/ &wscript start.vbs", "stop": "cd mongodb/bin/ &taskkill /f /im mongod.exe", "pidFile": "./mongodb/logs/mongo.pid", "process": null }, { "name": "Redis", "rootPath": "Redis-x64-3.2.100", "start": "cd Redis-x64-3.2.100 &wscript start.vbs", "stop": "cd Redis-x64-3.2.100 &taskkill /f /im redis-server.exe", "pidFile": "./Redis-x64-3.2.100/logs/redis.pid", }, { "name": "Aria2", "rootPath": "aria2", "start": "cd aria2 &wscript start.vbs", "stop": "cd aria2 &taskkill /f /im aria2c@x86.exe", "pidFile": "./aria2/logs/ariac.pid", }, { "name": "Nginx", "rootPath": "nginx-1.13.6", "start": "cd nginx-1.13.6 &start nginx", "stop": "cd nginx-1.13.6 &nginx.exe -s quit", "pidFile": "./nginx-1.13.6/logs/nginx.pid", }, { "name": "PHP-Cgi", "rootPath": "php7", "start": "cd php7 &start xxfpm_run.vbs", "stop": "cd php7 &taskkill /f /im xxfpm.exe", "pidFile": null,#<====== "process": "xxfpm"#如果没有pid文件 可以使用 进程模糊名称进行匹配 监听 }] }

    推荐阅读