link preview v1
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user