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
d294a11b
"tests/experimental/vscode:/vscode.git/clone" did not exist on "f4fcee7e8a74660bb34114cff710c769167c936b"
Commit
d294a11b
authored
Sep 25, 2023
by
Michael Yang
Browse files
start service on exit instead of immediately
parent
5306b026
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
scripts/install.sh
scripts/install.sh
+3
-1
No files found.
scripts/install.sh
View file @
d294a11b
...
...
@@ -92,7 +92,9 @@ EOF
status
"Enabling and starting ollama service..."
$SUDO
systemctl daemon-reload
$SUDO
systemctl
enable
ollama
$SUDO
systemctl restart ollama
start_service
()
{
$SUDO
systemctl restart ollama
;
}
trap
start_service EXIT
;;
esac
}
...
...
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