链接: https://pan.baidu.com/s/1jDl4KzS_VDAU4LtedU7IIg 提取码: bw3j
【需依赖 Microsoft .NET Framework 4.5】
运行
![img_63455c7c1dbee2e0c2ebdcf3cb6f2c67.gif](https://i-blog.csdnimg.cn/blog_migrate/17e7fbde431bebbd5f36f027ba4102f3.gif)
新建配置
![img_eb4d3d4cb39292bd937af1fd777da153.png](https://i-blog.csdnimg.cn/blog_migrate/a9c88585b79ec14b0e8a04153eeb797f.png)
修改配置
![img_2e5998414afe1af1716965c76b2190ac.png](https://i-blog.csdnimg.cn/blog_migrate/0cea9191a8f42698a11e05b9e488b60c.png)
修改程序配置
![img_c0035a983c32157f7751e0b9c66efa81.png](https://i-blog.csdnimg.cn/blog_migrate/a1267ab3f0befa88b843b97d6526d682.png)
简单使用
![img_ccc19b406f3f5357aa50318604a590c2.gif](https://i-blog.csdnimg.cn/blog_migrate/7c3185aaad19abf5d0cc18a7bdd573d0.gif)
![img_93c9f6d95d9298c1737588f8e6c9f802.gif](https://i-blog.csdnimg.cn/blog_migrate/9118692f42028ff220afb6a004e16d6d.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文件 可以使用 进程模糊名称进行匹配 监听
}]
}