windows 测试服务管理工具

  1. 云栖社区>
  2. 博客>
  3. 正文

windows 测试服务管理工具

关爱单身狗 2018-09-27 22:37:00 浏览646
展开阅读全文

链接: https://pan.baidu.com/s/1jDl4KzS_VDAU4LtedU7IIg 提取码: bw3j
需依赖 Microsoft .NET Framework 4.5

运行
img_63455c7c1dbee2e0c2ebdcf3cb6f2c67.gif
新建配置
img_eb4d3d4cb39292bd937af1fd777da153.png
修改配置
img_2e5998414afe1af1716965c76b2190ac.png
修改程序配置
img_c0035a983c32157f7751e0b9c66efa81.png
简单使用
img_ccc19b406f3f5357aa50318604a590c2.gif
img_93c9f6d95d9298c1737588f8e6c9f802.gif
配置文件参考说明

conf.json

{
    "cmd": "cmd.exe",#默认 或指定cmd.exe 路径
    "hide": false,#是否在第一次运行时隐藏窗口
    "refreshTime": 3000,#每次刷新的时间间隔 (毫秒)
    "appList": [{
        "name": "Apache24",#服务名称
        "rootPath": "Apache24",#菜单中点击打开的文件夹路径
        "start": "cd  Apache24/bin/ &wscript start.vbs",#启动命令
        "stop": "cd  Apache24/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": "cd  lighttpd-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文件 可以使用 进程模糊名称进行匹配 监听
    }]
}

网友评论

登录后评论
0/500
评论
关爱单身狗
+ 关注