Update serv00.sh
This commit is contained in:
@@ -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),请检查相关参数是否输入有误,建议卸载重装"
|
||||||
|
|||||||
Reference in New Issue
Block a user