~增加wg和ts配置生成检测机制防止文件冲突

~bug fix
This commit is contained in:
juewuy
2026-01-15 18:04:13 +08:00
parent 88dffde53c
commit 9aa6f3d5bb
6 changed files with 23 additions and 23 deletions

View File

@@ -7,7 +7,7 @@ else
sleep 2
kill $! >/dev/null 2>&1
fi
touch "CRASHDIR"/.start_error #标记启动失败,防止自启
touch "$CRASHDIR"/.start_error #标记启动失败,防止自启
error=$(cat "$TMPDIR"/core_test.log | grep -iEo 'error.*=.*|.*ERROR.*|.*FATAL.*')
logger "服务启动失败!请查看报错信息!详细信息请查看$TMPDIR/core_test.log" 33
logger "$error" 31