Set arbitrary environment variables for the ollama service.
Be aware that these are only seen by the ollama server (systemd service), not normal invocations like ollama run
. Since ollama run
is mostly a shell around the ollama server, this is usually sufficient.