Add log message for SSH reachability check before starting ollama service

This commit is contained in:
Bastian (BaM)
2025-09-14 13:37:18 +02:00
parent cd99ea8779
commit 903b4aa51b

View File

@@ -170,6 +170,8 @@ local function main()
-- log("Timeout waiting for Ollama.") -- log("Timeout waiting for Ollama.")
-- end -- end
log("Waiting for SSH to become reachable...")
if port_is_up(OLLAMA_HOST, SSH_PORT, 60) then if port_is_up(OLLAMA_HOST, SSH_PORT, 60) then
log("SSH is reachable. Starting ollama service...") log("SSH is reachable. Starting ollama service...")
socket.sleep(1) socket.sleep(1)