From ded974476a475035beb87f12bfd4c1adc2b46fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= <121604513+yonggekkk@users.noreply.github.com> Date: Mon, 27 Jan 2025 14:16:09 +0800 Subject: [PATCH] Update serv00.sh --- serv00.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serv00.sh b/serv00.sh index fbff824..cce60f0 100644 --- a/serv00.sh +++ b/serv00.sh @@ -1280,13 +1280,13 @@ fi if [ -f "$WORKDIR/boot.log" ] && ! ps aux | grep [u]rl > /dev/null; then yellow "当前Argo临时域名暂时不存在,后台会继续生成有效的临时域名,稍后可再次进入脚本查看" fi -if ps aux | grep [r]un > /dev/null; then +if ps aux | grep '[a]utoupdate run' > /dev/null; then argogd=$(cat $WORKDIR/gdym.log 2>/dev/null) checkhttp=$(curl --max-time 2 -o /dev/null -s -w "%{http_code}\n" "https://$argogd") [ "$checkhttp" -eq 404 ] && check="域名有效" || check="域名可能失效" green "当前Argo固定域名:$argogd $check" fi -if [ ! -f "$WORKDIR/boot.log" ] && ! ps aux | grep [r]un > /dev/null; then +if [ ! -f "$WORKDIR/boot.log" ] && ! ps aux | grep '[a]utoupdate run' > /dev/null; then yellow "当前Argo固定域名:$(cat $WORKDIR/gdym.log 2>/dev/null),启用失败,请检查相关参数是否输入有误" fi green "保活网页:http://${USERNAME}.${USERNAME}.serv00.net/up ,打开一次,即可默认每3分钟自动保活"