Update serv00.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-01-20 15:43:19 +08:00
committed by GitHub
parent a1aa5402fc
commit fa58083ef1
+3 -3
View File
@@ -1160,9 +1160,9 @@ yellow "当前Argo临时域名暂时不存在,后台会继续生成有效的
fi fi
if ps aux | grep [t]oken > /dev/null; then if ps aux | grep [t]oken > /dev/null; then
argogd=$(cat $WORKDIR/gdym.log 2>/dev/null) argogd=$(cat $WORKDIR/gdym.log 2>/dev/null)
checkhttp=$(curl -o /dev/null -s -w "%{http_code}\n" "https://$argogd") checkhttp=$(curl --max-time 2 -o /dev/null -s -w "%{http_code}\n" "https://$argogd")
[ "$checkhttp" -eq 404 ] && check="域名有效" || check="域名可能效" [ "$checkhttp" -eq 404 ] && check="域名有效" || check="域名可能效"
green "当前Argo固定域名:$argogd $check" green "当前Argo固定域名:$argogd $check"
fi fi
if [ ! -f "$WORKDIR/boot.log" ] && ! ps aux | grep [t]oken > /dev/null; then if [ ! -f "$WORKDIR/boot.log" ] && ! ps aux | grep [t]oken > /dev/null; then
yellow "当前Argo固定域名:$(cat $WORKDIR/gdym.log 2>/dev/null),请检查相关参数是否输入有误,建议卸载重装" yellow "当前Argo固定域名:$(cat $WORKDIR/gdym.log 2>/dev/null),请检查相关参数是否输入有误,建议卸载重装"