From 618756d4a93d5f936b3a4b9b5abccb3810e137a3 Mon Sep 17 00:00:00 2001 From: whyour Date: Wed, 10 May 2023 23:17:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E6=97=B6=EF=BC=8C=E6=9C=8D=E5=8A=A1=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/share.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell/share.sh b/shell/share.sh index 7faba321..6583639f 100755 --- a/shell/share.sh +++ b/shell/share.sh @@ -99,6 +99,9 @@ set_proxy() { unset_proxy() { unset http_proxy unset https_proxy + unset ftp_proxy + unset all_proxy + unset no_proxy } make_dir() { @@ -374,6 +377,8 @@ random_range() { reload_pm2() { cd $dir_root + # 代理会影响 grpc 服务 + unset_proxy pm2 flush &>/dev/null pm2 startOrGracefulReload $file_ecosystem_js }