From 32add8577d3cd82ad29ec06c8a31cc71dbe40afd Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Thu, 16 Nov 2023 16:52:40 -0800 Subject: [PATCH] placeholder environment variables --- scripts/install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)