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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user