fix: OCR 在一键部署时注册 systemd 开机自启

EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-18 00:31:13 +08:00
parent 8cf375d178
commit 2fea777600
7 changed files with 142 additions and 101 deletions
+4
View File
@@ -196,8 +196,12 @@ systemctl status grade-archive # 查看状态
```bash
sudo systemctl stop ocr-worker
sudo systemctl start ocr-worker
sudo systemctl status ocr-worker
journalctl -u ocr-worker -f
```
一键部署会自动 `systemctl enable ocr-worker`,重启后 OCR 随系统启动。
停止后浏览器访问 `http://<服务器IP>:23566` 会无法连接;启动后即可恢复。
---