Move the /tmp prototype (Baileys bridge + RAG consumer) into git as a proper sibling project to discord-bridge/: own systemd --user units (whatsapp bridge, rag consumer, dashboard, periodic Drive sync timer), a filesystem document store with a stdlib control dashboard (start/ stop/restart, document CRUD, reindex, Google Drive sync via rclone), and an idempotent ops/install.sh following the same conventions. Co-Authored-By: Claude Agent <noreply@anthropic.com>
22 lines
850 B
Desktop File
22 lines
850 B
Desktop File
# Unit systemd de UTILIZATOR: o singura trecere de sincronizare Drive + reindexare
|
|
# conditionata (rag/sync.py). Pornit periodic de maria-sync.timer, sau manual:
|
|
#
|
|
# systemctl --user start maria-sync.service
|
|
# journalctl --user -u maria-sync -f
|
|
|
|
[Unit]
|
|
Description=Sincronizare depozit documente Maria (Drive) + reindexare RAG
|
|
Documentation=file:///workspace/romfastsql/proxmox/lxc171-claude-agent/maria-whatsapp-bridge/README.md
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=/workspace/romfastsql/proxmox/lxc171-claude-agent/maria-whatsapp-bridge/rag
|
|
EnvironmentFile=%h/.maria-bridge/env
|
|
Environment=MARIA_BRIDGE_DIR=%h/.maria-bridge
|
|
Environment=PYTHONUNBUFFERED=1
|
|
ExecStart=%h/.maria-bridge/venv/bin/python sync.py
|
|
|
|
StandardOutput=append:%h/.maria-bridge/logs/sync.log
|
|
StandardError=append:%h/.maria-bridge/logs/sync.log
|
|
SyslogIdentifier=maria-sync
|