setx OLLAMA_KEEP_ALIVE 24h

sudo systemctl edit ollama.service

[Service]
Environment="OLLAMA_KEEP_ALIVE=24h"

sudo systemctl restart ollama
