From 5d26effe64b6ade59d38c01955292fb09bc91fe0 Mon Sep 17 00:00:00 2001 From: "Bastian (BaM)" Date: Sun, 14 Sep 2025 13:44:46 +0200 Subject: [PATCH] Fix SSH command execution syntax for ollama service startup --- scripts/auto-boot-ollama-host.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/auto-boot-ollama-host.lua b/scripts/auto-boot-ollama-host.lua index 159b180..90826bf 100644 --- a/scripts/auto-boot-ollama-host.lua +++ b/scripts/auto-boot-ollama-host.lua @@ -175,7 +175,7 @@ local function main() if port_is_up(OLLAMA_HOST, SSH_PORT, 60) then log("SSH is reachable. Starting ollama service...") socket.sleep(1) - ssh("wsl.exe -d Debian -- sudo systemctl enable --now ollama && sudo systemctl start ollama", "micro", OLLAMA_HOST, SSH_PORT, SSH_IDENTITY_FILE) + ssh("wsl.exe -d Debian -- 'sudo systemctl enable --now ollama && sudo systemctl start ollama'", "micro", OLLAMA_HOST, SSH_PORT, SSH_IDENTITY_FILE) end end end