breadsearch/packaging/breadmill.service
Breadway 99724853a0
All checks were successful
Mirror to GitHub / mirror (push) Successful in 2s
release / build (push) Successful in 2m11s
Switch to tag-pinned bread-ecosystem deps; bump version to v0.3.0
2026-07-19 03:53:04 +08:00

21 lines
740 B
Desktop File

[Unit]
Description=Breadmill semantic search indexer
Documentation=https://git.breadway.dev/Breadway/breadsearch
After=default.target
[Service]
Type=simple
# Required (not just a perf tweak) when backend = "rocm": without a valid
# cache dir, ONNX Runtime's MIGraphX EP reads an uninitialized cache path and
# crashes on the first query instead of just recompiling every restart. Inert
# for cpu/npu/cuda/openvino backends (openvino's cache dir is set in code,
# not via env var). See README.md#gpu-backend-notes.
Environment=ORT_MIGRAPHX_MODEL_CACHE_PATH=%h/.cache/breadsearch/migraphx-cache
ExecStart=%h/.cargo/bin/breadmill
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=default.target