Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
ignore systemctl is-system-running exit code
Michael Yang1b9dcab3abb1
diff --git a/scripts/install.sh b/scripts/install.shindex 1ee81d4c5..82eca656c 100644--- a/scripts/install.sh+++ b/scripts/install.sh@@ -86,7 +86,7 @@ Environment="HOME=/usr/share/ollama"[Install]WantedBy=default.targetEOF- SYSTEMCTL_RUNNING="$(systemctl is-system-running)"+ SYSTEMCTL_RUNNING="$(systemctl is-system-running || true)"case $SYSTEMCTL_RUNNING inrunning|degraded)status "Enabling and starting ollama service..."