Refactor environment variable definitions in compose.yaml for consistency and clarity; clean up commented code in auto-boot-ollama-host.sh

This commit is contained in:
Bastian (BaM)
2025-09-13 20:08:48 +02:00
parent 96d2a8c2f1
commit 5772166c44
2 changed files with 11 additions and 17 deletions

View File

@@ -43,15 +43,10 @@ while IFS= read -r line; do
log "Sending WOL to $WOL_MAC via ${WOL_BCAST}:${WOL_PORT}"
send_wol
fi
# --- remediation examples (optional) ---
# if [[ -n "$WOL_MAC" ]]; then
# log "Sending WOL to ${WOL_MAC}"
# $WOL_CMD "$WOL_MAC" || true
# fi
# until $NC_CMD -z "$OLLAMA_HOST" "$OLLAMA_PORT"; do
# log "Waiting for Ollama to be reachable..."
# sleep 2
# done
# log "Ollama reachable again."
#until $NC_CMD -z "$OLLAMA_HOST" "$OLLAMA_PORT"; do
# log "Waiting for Ollama to be reachable..."
# sleep 2
#done
#log "Ollama reachable again."
fi
done