2020-05-07 21:27:50

This commit is contained in:
monlor
2020-05-07 21:27:50 +08:00
parent c14ea17d40
commit d7e9f48f62
4 changed files with 7 additions and 6 deletions

View File

@@ -5,5 +5,5 @@ supports="linux_arm,linux_mips,linux_x86_64"
openport="1"
backupfiles="config/ssserver.conf,config/sscontrol.conf,config/customize_black.conf,config/customize_white.conf"
appinfo="最好的翻墙工具,没有之一,还可以加速国内外游戏"
newinfo="回滚v2ray配置"
version="0.1.8"
newinfo="v2ray配置测试错误也不停止运行程序"
version="0.1.9"

View File

@@ -587,7 +587,7 @@ start_main_process() {
killall -9 v2ray &> /dev/null
cd ${mbroot}/bin
result=$(${mbroot}/apps/${appname}/bin/v2ray -test -config="${mbroot}/apps/${appname}/config/v2ray.json" | grep "Configuration OK.")
[ -z "$result" ] && logsh "$service" "配置文件测试失败!" && exit 1
[ -z "$result" ] && logsh "$service" "配置文件测试失败!"
logsh "$service" "启动v2ray主进程($id)..."
[ -z "$ss_mode" ] && logsh "$service" "未配置${appname}运行模式!" && exit 1
daemon ${mbroot}/apps/${appname}/bin/v2ray -config="${mbroot}/apps/${appname}/config/v2ray.json"