41 lines
1.6 KiB
Plaintext
41 lines
1.6 KiB
Plaintext
# Review/install by 总工 only. HEL-874/882 isolated unified candidate, port 8360.
|
|
# Fresh EMPTY data dir — never the 8300/8310/8320/8340/8350 dirs, never demo data.
|
|
# CYBERGRIL_SEMANTIC stays stub until Part-B budget approval AND the pinned mem0
|
|
# stack wheels are staged for 3.11 (deploy/hel874-release.md §4); not presenting a
|
|
# stub/FTS fallback as the user's real memory experience.
|
|
# HEL-882: PYTHONPATH makes the product importable from the requirements.lock-only
|
|
# venv (deps only, no editable install); budget request caps ship at 0 = refuse
|
|
# every real provider exit until the manager writes approved numbers (see
|
|
# config/models.yaml budget block + docs/budget-plan-hel874.md).
|
|
[Unit]
|
|
Description=CyberGril HEL-874 unified candidate (isolated, R4-assembly)
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=cybergril
|
|
Group=cybergril
|
|
WorkingDirectory=/opt/cybergril-hel874/current
|
|
Environment=PYTHONPATH=/opt/cybergril-hel874/current/src
|
|
Environment=CYBERGRIL_DB=/opt/cybergril-hel874/data/companion.db
|
|
Environment=CYBERGRIL_MODELS=/opt/cybergril-hel874/current/config/models.yaml
|
|
Environment=CYBERGRIL_WEB=/opt/cybergril-hel874/current/web/dist
|
|
Environment=CYBERGRIL_R2_ENABLED=1
|
|
Environment=CYBERGRIL_SEMANTIC=stub
|
|
Environment=CYBERGRIL_HOST=0.0.0.0
|
|
Environment=CYBERGRIL_PORT=8360
|
|
ExecStart=/opt/cybergril-hel874/current/.venv311/bin/python -m cybergril.api
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
TimeoutStopSec=15
|
|
UMask=0077
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/opt/cybergril-hel874/data
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|