[GH-ISSUE #10353] How to stop/pause Ollama service (runtime) via Ollama CLI? #68857

Closed
opened 2026-05-04 15:25:04 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @morozover on GitHub (Apr 20, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10353

Ollama CLI has abilities to manage Ollama instance

For example, ollama serve, ollama run, ollama -v

How to stop/pause Ollama service (not model) via Ollama CLI?

I know that there are following systemctl commands:

  • sudo systemctl stop ollama
  • sudo systemctl start ollama

But maybe there are equivalent commands in Ollama CLI

Just in case, I don't mean ollama rm llama3.2 and ollama stop llama3.2 commands because they is for model, not for service (runtime)

Originally created by @morozover on GitHub (Apr 20, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10353 Ollama CLI has abilities to manage Ollama instance For example, `ollama serve`, `ollama run`, `ollama -v` How to stop/pause Ollama service (not model) via Ollama CLI? I know that there are following systemctl commands: * `sudo systemctl stop ollama` * `sudo systemctl start ollama` But maybe there are equivalent commands in Ollama CLI Just in case, I don't mean `ollama rm llama3.2` and `ollama stop llama3.2` commands because they is for model, not for service (runtime)
Author
Owner

@rick-github commented on GitHub (Apr 21, 2025):

Managing the ollama server is done with the service management system available on the system that ollama is installed on. On Linux, that's systemctl, MacOS is launchctl, etc. There is no mechanism for controlling the service from the ollama CLI.

<!-- gh-comment-id:2817411566 --> @rick-github commented on GitHub (Apr 21, 2025): Managing the ollama server is done with the service management system available on the system that ollama is installed on. On Linux, that's `systemctl`, MacOS is `launchctl`, etc. There is no mechanism for controlling the service from the ollama CLI.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#68857