Browse Source

Add log message for SSH reachability check before starting ollama service

main
Bastian (BaM) 3 months ago
parent
commit
903b4aa51b
  1. 2
      scripts/auto-boot-ollama-host.lua

2
scripts/auto-boot-ollama-host.lua

@ -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)

Loading…
Cancel
Save