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>
21 lines
573 B
SYSTEMD
21 lines
573 B
SYSTEMD
# Timer de UTILIZATOR: declanseaza maria-sync.service la fiecare 10 minute.
|
|
#
|
|
# Interval fix aici (nu citit din env): un timer systemd nu poate parametriza
|
|
# OnUnitActiveSec dintr-un fisier extern usor — de editat direct daca 10 min nu
|
|
# se potriveste.
|
|
#
|
|
# systemctl --user daemon-reload
|
|
# systemctl --user enable --now maria-sync.timer
|
|
# systemctl --user list-timers maria-sync.timer
|
|
|
|
[Unit]
|
|
Description=Sincronizare periodica a depozitului de documente Maria (Drive)
|
|
|
|
[Timer]
|
|
OnBootSec=2min
|
|
OnUnitActiveSec=10min
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|