Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
a185b297
Commit
a185b297
authored
Nov 17, 2023
by
Jeffrey Morgan
Browse files
fix install script error on linux
parent
dc84b20d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
scripts/install.sh
scripts/install.sh
+0
-10
No files found.
scripts/install.sh
View file @
a185b297
...
...
@@ -97,16 +97,6 @@ Environment="PATH=$PATH"
[Install]
WantedBy=default.target
EOF
mkdir
-p
/etc/systemd/system/ollama.service.d
cat
<<
EOF
|
$SUDO
tee /etc/systemd/system/ollama.service.d/environment.conf >/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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment