Unverified Commit 25248f4b authored by ‮rekcäH nitraM‮'s avatar ‮rekcäH nitraM‮ Committed by GitHub
Browse files

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.
parent a7e63b82
...@@ -75,7 +75,7 @@ RestartSec=3 ...@@ -75,7 +75,7 @@ RestartSec=3
Environment="PATH=$PATH" Environment="PATH=$PATH"
[Install] [Install]
WantedBy=default.target WantedBy=multi-user.target
``` ```
Then start the service: Then start the service:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment