修复 pm2 重启逻辑

This commit is contained in:
whyour
2023-07-17 13:25:56 +08:00
parent 93e94ea94c
commit bd166ee794
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -313,8 +313,8 @@ reload_pm2() {
# 代理会影响 grpc 服务
unset_proxy
pm2 flush &>/dev/null
pm2 kill &>/dev/null
pm2 startOrGracefulReload $file_ecosystem_js
pm2 startOrGracefulReload $file_ecosystem_js --update-env
pm2 sendSignal SIGKILL panel &>/dev/null
}
diff_time() {