From 903b4aa51b39904d3fe4e8e5f3d318dd162480a1 Mon Sep 17 00:00:00 2001 From: "Bastian (BaM)" Date: Sun, 14 Sep 2025 13:37:18 +0200 Subject: [PATCH] Add log message for SSH reachability check before starting ollama service --- scripts/auto-boot-ollama-host.lua | 2 ++ 1 file changed, 2 insertions(+) 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)