Add Ollama model auto-updater with systemd timer

ollama pull compares digests server-side so no download happens if
a model is already current. Timer runs monthly offset 2h from kiwix.
install.sh updated to handle all units generically.

https://claude.ai/code/session_012gDnantBmFTWZGCiKyjazx
This commit is contained in:
Claude
2026-03-21 23:09:18 +00:00
parent 95ff8779db
commit 83d8406d1a
4 changed files with 109 additions and 7 deletions
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Ollama model auto-updater
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/bin/bash %h/local-ai/ollama_update.sh
StandardOutput=journal
StandardError=journal