From a185b29719a5ed93d1a7b18ad9d0b489e2a312f0 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Fri, 17 Nov 2023 18:00:41 -0500 Subject: [PATCH] fix install script error on linux --- scripts/install.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 8ff5eaee..219f60fd 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -97,16 +97,6 @@ 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)