diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index b14cef47..be275a27 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -24,7 +24,7 @@ pm2 l &>/dev/null log_with_style "INFO" "🔄 2. 启动 nginx..." nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf -log_with_style "INFO" "⚙️ 3. 启动 pm2 服务...\n" +log_with_style "INFO" "⚙️ 3. 启动 pm2 服务..." reload_pm2 if [[ $AutoStartBot == true ]]; then diff --git a/shell/share.sh b/shell/share.sh index 3efb2fed..6c9bae89 100755 --- a/shell/share.sh +++ b/shell/share.sh @@ -285,7 +285,7 @@ reload_pm2() { cd $dir_root restore_env_vars pm2 flush &>/dev/null - pm2 startOrGracefulReload ecosystem.config.js + pm2 startOrGracefulReload ecosystem.config.js --update-env } diff_time() {