mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
Fix PM2 startup failures on ARM routers with Node.js incompatibility (#2828)
* Initial plan * Add fallback mechanism for PM2 startup failures on incompatible hardware Co-authored-by: whyour <22700758+whyour@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
This commit is contained in:
@@ -34,7 +34,8 @@ export_ql_envs
|
||||
import_config "$@"
|
||||
fix_config
|
||||
|
||||
pm2 l &>/dev/null
|
||||
# Try to initialize PM2, but don't fail if it doesn't work
|
||||
pm2 l &>/dev/null || log_with_style "WARN" "PM2 初始化可能失败,将在启动时尝试使用备用方案"
|
||||
|
||||
log_with_style "INFO" "⚙️ 2. 启动 pm2 服务..."
|
||||
reload_pm2
|
||||
|
||||
Reference in New Issue
Block a user