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>
39 lines
1.3 KiB
Desktop File
39 lines
1.3 KiB
Desktop File
# Unit systemd de UTILIZATOR pentru dashboard-ul de control al puntii Maria.
|
|
#
|
|
# Se instaleaza in ~/.config/systemd/user/maria-dashboard.service (vezi install.sh).
|
|
# Unit SEPARAT de bridge/rag, ca o repornire a lor sa nu ia si panoul din care
|
|
# ai apasat butonul (acelasi motiv ca la claude-discord-dashboard.service).
|
|
#
|
|
# systemctl --user daemon-reload
|
|
# systemctl --user enable --now maria-dashboard
|
|
# journalctl --user -u maria-dashboard -f
|
|
|
|
[Unit]
|
|
Description=Dashboard de control pentru puntea WhatsApp+RAG a lui Maria (LXC 171)
|
|
Documentation=file:///workspace/romfastsql/proxmox/lxc171-claude-agent/maria-whatsapp-bridge/README.md
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=%h/.maria-bridge
|
|
EnvironmentFile=%h/.maria-bridge/env
|
|
Environment=MARIA_BRIDGE_DIR=%h/.maria-bridge
|
|
Environment=PYTHONUNBUFFERED=1
|
|
|
|
# Stdlib only, dar are nevoie sa dea `systemctl --user` — acelasi utilizator ca
|
|
# bridge/rag, deci merge fara sudo.
|
|
ExecStart=/usr/bin/python3 /workspace/romfastsql/proxmox/lxc171-claude-agent/maria-whatsapp-bridge/dashboard/api.py
|
|
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
MemoryHigh=192M
|
|
MemoryMax=384M
|
|
|
|
StandardOutput=append:%h/.maria-bridge/logs/dashboard.log
|
|
StandardError=append:%h/.maria-bridge/logs/dashboard.log
|
|
SyslogIdentifier=maria-dashboard
|
|
|
|
[Install]
|
|
WantedBy=default.target
|