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

@@ -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"