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
1b9dcab3
Commit
1b9dcab3
authored
Sep 25, 2023
by
Michael Yang
Browse files
ignore systemctl is-system-running exit code
parent
86279f4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/install.sh
scripts/install.sh
+1
-1
No files found.
scripts/install.sh
View file @
1b9dcab3
...
@@ -86,7 +86,7 @@ Environment="HOME=/usr/share/ollama"
...
@@ -86,7 +86,7 @@ Environment="HOME=/usr/share/ollama"
[Install]
[Install]
WantedBy=default.target
WantedBy=default.target
EOF
EOF
SYSTEMCTL_RUNNING
=
"
$(
systemctl is-system-running
)
"
SYSTEMCTL_RUNNING
=
"
$(
systemctl is-system-running
||
true
)
"
case
$SYSTEMCTL_RUNNING
in
case
$SYSTEMCTL_RUNNING
in
running|degraded
)
running|degraded
)
status
"Enabling and starting ollama service..."
status
"Enabling and starting ollama service..."
...
...
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