diff --git a/scripts/auto-boot-ollama-host.lua b/scripts/auto-boot-ollama-host.lua index de6eac7..3a2d9d9 100644 --- a/scripts/auto-boot-ollama-host.lua +++ b/scripts/auto-boot-ollama-host.lua @@ -170,6 +170,8 @@ local function main() -- log("Timeout waiting for Ollama.") -- end + log("Waiting for SSH to become reachable...") + if port_is_up(OLLAMA_HOST, SSH_PORT, 60) then log("SSH is reachable. Starting ollama service...") socket.sleep(1)