Ollama : Wait 5 sec before loading modules so the server can start.
This commit is contained in:
parent
6ec13eff8f
commit
38cdb7ba90
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue