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
7de0c834
Unverified
Commit
7de0c834
authored
Sep 25, 2023
by
Michael Yang
Committed by
GitHub
Sep 25, 2023
Browse files
Merge pull request #595 from jmorganca/mxyng/install.sh
ignore systemctl is-system-running exit code
parents
86279f4a
1b9dcab3
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 @
7de0c834
...
@@ -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