Files
local-ai/systemd/ollama-update.service
Claude 83d8406d1a 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
2026-03-21 23:09:18 +00:00

11 lines
219 B
Desktop File

[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