mirror of
https://github.com/ollama/ollama.git
synced 2025-05-10 18:06:33 +02:00
Better WantedBy declaration
The problem with default.target is that it always points to the target that is currently started. So if you boot into single user mode or the rescue mode still Ollama tries to start. I noticed this because either tried (and failed) to start all the time during a system update, where Ollama definitely is not wanted.
This commit is contained in:
parent
a7e63b82be
commit
25248f4bd5
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ RestartSec=3
|
|||
Environment="PATH=$PATH"
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
Then start the service:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue