marvin: log ollama output to file
Alan Pearce alan@alanpearce.eu
Sun, 09 Mar 2025 17:31:27 +0100
1 files changed, 2 insertions(+), 0 deletions(-)
jump to
M user/marvin.nix → user/marvin.nix
@@ -36,6 +36,8 @@ ProgramArguments = [ "${pkgs.ollama}/bin/ollama" "serve" ]; RunAtLoad = true; KeepAlive = true; WorkingDirectory = "/Users/alan"; + StandardOutPath = "/Users/alan/Library/Logs/ollama.log"; + StandardErrorPath = "/Users/alan/Library/Logs/ollama.log"; EnvironmentVariables = { OLLAMA_HOST = "[::]:11434"; OLLAMA_KEEP_ALIVE = "-1"; # keep models in memory forever