chore: 调整脚本后台语法,改执行方式并设换行符

This commit is contained in:
begoniezhao
2025-08-11 16:16:21 +08:00
committed by lyingbug
parent ddcf5edf02
commit a347abf829
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ start_ollama() {
else
log_info "启动Ollama服务..."
export OLLAMA_HOST=0.0.0.0:11435
ollama serve & > /dev/null 2>&1
ollama serve > /dev/null 2>&1 &
# 等待服务启动
MAX_RETRIES=30