diff --git a/scripts/install.sh b/scripts/install.sh index 219f60fd..8ff5eaee 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -97,6 +97,16 @@ Environment="PATH=$PATH" [Install] WantedBy=default.target EOF + + mkdir -p /etc/systemd/system/ollama.service.d + cat </dev/null +[Service] +#Environment="OLLAMA_HOST=" +#Environment="OLLAMA_ORIGINS=" +#Environment="OLLAMA_MODELS=" +#Environment="HTTPS_PROXY=" +EOF + SYSTEMCTL_RUNNING="$(systemctl is-system-running || true)" case $SYSTEMCTL_RUNNING in running|degraded)