all repos — nixfiles @ c535b67f600f7ba6bd90a9df61650ea77732612e

System and user configuration, managed by nix and home-manager

marvin: log ollama output to file
Alan Pearce alan@alanpearce.eu
Sun, 09 Mar 2025 17:31:27 +0100
commit

c535b67f600f7ba6bd90a9df61650ea77732612e

parent

0893d639685199ab94d7b257e5de1662c6973d7a

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M user/marvin.nixuser/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