fix: OCR 在一键部署时注册 systemd 开机自启
EOF Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ log_info "开始修复 grade-archive 服务…"
|
||||
stop_legacy_pm2
|
||||
install_ocr_deps_safe
|
||||
if [[ -x "${INSTALL_DIR}/deploy/ocr-worker/.venv/bin/uvicorn" ]]; then
|
||||
start_ocr_screen || log_warn "OCR screen 启动失败"
|
||||
start_ocr_service || log_warn "OCR systemd 启动失败"
|
||||
wait_ocr_healthy || log_warn "OCR 未就绪"
|
||||
fi
|
||||
setup_systemd_service
|
||||
|
||||
Reference in New Issue
Block a user