link preview v1

This commit is contained in:
Joren de Graaf
2026-10-21 15:25:33 +02:00
parent 4948d7645e
commit 9a5210a48f
30 changed files with 1173 additions and 4 deletions
@@ -0,0 +1,11 @@
[Unit]
Description=Fetch bounded Knowledge Library preview metadata
After=network-online.target
[Service]
Type=oneshot
WorkingDirectory=/home/jorenmartijn/Desktop/django_dashboard
EnvironmentFile=-%h/.config/common-ground/env
ExecStart=/home/jorenmartijn/Desktop/django_dashboard/.venv-host/bin/python manage.py fetch_knowledge_metadata --limit 5
TimeoutStartSec=120
@@ -0,0 +1,11 @@
[Unit]
Description=Process Knowledge Library preview metadata each minute
[Timer]
OnBootSec=1min
OnUnitActiveSec=1min
AccuracySec=15s
Unit=common-ground-knowledge-metadata.service
[Install]
WantedBy=timers.target