[Unit]
Description=Obsidian Vault Reindex Endpoint
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/python3 /home/will/lab/swarm/scripts/obsidian-reindex-server.py
Restart=on-failure
RestartSec=5
Environment=PORT=18810
Environment=RAG_COLLECTION=obsidian_bge_npu
Environment=RAG_EMBED_MODEL=bge-base-en-v1.5-int8-ov
Environment=OLLAMA_BASE_URL=http://127.0.0.1:18817

[Install]
WantedBy=default.target
