nixos/ollama: add network-online.target to ollama-model-loader.service (#443374)
This commit is contained in:
@@ -270,7 +270,11 @@ in
|
||||
"multi-user.target"
|
||||
"ollama.service"
|
||||
];
|
||||
after = [ "ollama.service" ];
|
||||
wants = [ "network-online.target" ];
|
||||
after = [
|
||||
"ollama.service"
|
||||
"network-online.target"
|
||||
];
|
||||
bindsTo = [ "ollama.service" ];
|
||||
environment = config.systemd.services.ollama.environment;
|
||||
serviceConfig = {
|
||||
|
||||
Reference in New Issue
Block a user