Logo
Explore Help
Sign In
wangdl/api-server
2
0
Fork 0
You've already forked api-server
Code Issues 45 Pull Requests Actions Packages Projects Releases Wiki Activity
api-server/rag-worker/zhixi-worker.service

18 lines
331 B
SYSTEMD
Raw Normal View History

fix CI: move Python deps + reranker test to systemd ExecStartPre Runner container lacks Python 3.11, so pip install and self-test now run as ExecStartPre in zhixi-worker.service on the host. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 16:25:52 +08:00
[Unit]
Description=ZhiXi RAG Worker
After=network.target
[Service]
Type=simple
fix: User=ubuntu in service file, simplify CI deploy step Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 16:51:43 +08:00
User=ubuntu
fix CI: move Python deps + reranker test to systemd ExecStartPre Runner container lacks Python 3.11, so pip install and self-test now run as ExecStartPre in zhixi-worker.service on the host. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 16:25:52 +08:00
WorkingDirectory=/opt/zhixi/backend/rag-worker
Environment="PYTHONUNBUFFERED=1"
EnvironmentFile=/opt/zhixi/backend/rag-worker/.env
ExecStart=/usr/bin/python3.11 -u main.py
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 30ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API