Generalized + redeployable: config via env, local Ollama embeddings, single portable sqlite-vec db, hybrid dense+FTS5 recall, mandatory credential scrub.
11 lines
336 B
Desktop File
11 lines
336 B
Desktop File
[Unit]
|
|
Description=SecondBrain refresh (ingest + embed)
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
# Adjust WorkingDirectory to where brain.py lives, and EnvironmentFile to your .env
|
|
WorkingDirectory=/opt/secondbrain
|
|
EnvironmentFile=-/opt/secondbrain/.env
|
|
ExecStart=/usr/bin/env bash /opt/secondbrain/deploy/refresh.sh
|
|
Nice=15
|