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 }