Add log message for SSH reachability check before starting ollama service
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user