Ollama : Wait 5 sec before loading modules so the server can start.

This commit is contained in:
Dmitry Voronin 2024-02-29 11:12:39 +03:00
parent 6ec13eff8f
commit 38cdb7ba90

View file

@ -17,6 +17,7 @@
after = [ "ollama.service" ]; after = [ "ollama.service" ];
serviceConfig.Type = "simple"; serviceConfig.Type = "simple";
script = '' script = ''
sleep 5
${lib.getExe pkgs.ollama} pull mistral ${lib.getExe pkgs.ollama} pull mistral
''; '';
}; };