[GH-ISSUE #1084] Adding ollama serve to run as a daemon #62573

Closed
opened 2026-05-03 09:35:53 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @rutsam on GitHub (Nov 11, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1084

I have been experimenting with ollama and I noticed it was heavily inspired by docker, however I run it on the server and where I do not use the desktop version, and thus find it better if there were to added an option to run ollama server as a daemon in the same fashion as docker compose symbolized with a parameter -d

ollama serve -d
Originally created by @rutsam on GitHub (Nov 11, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1084 I have been experimenting with ollama and I noticed it was heavily inspired by docker, however I run it on the server and where I do not use the desktop version, and thus find it better if there were to added an option to **run ollama server as a daemon** in the same fashion as docker compose symbolized with **a parameter -d** ``` ollama serve -d ```
Author
Owner

@gsvd commented on GitHub (Nov 11, 2023):

What operating system are you using?

<!-- gh-comment-id:1806764442 --> @gsvd commented on GitHub (Nov 11, 2023): What operating system are you using?
Author
Owner

@K1ngjulien commented on GitHub (Nov 11, 2023):

The standard linux install already sets ollama up as a systemd daemon

https://github.com/jmorganca/ollama/blob/main/docs/linux.md

I'm assuming you're running mac os?

<!-- gh-comment-id:1806849653 --> @K1ngjulien commented on GitHub (Nov 11, 2023): The standard linux install already sets ollama up as a systemd daemon https://github.com/jmorganca/ollama/blob/main/docs/linux.md I'm assuming you're running mac os?
Author
Owner

@technovangelist commented on GitHub (Dec 4, 2023):

Looks like this issue is asking about running ollama on a server and that question is resolved in the last comment about running on linux as a daemon. I will go ahead and close it now. If you think there is anything we left out, reopen and we can address. Thanks for being part of this great community.

<!-- gh-comment-id:1839742037 --> @technovangelist commented on GitHub (Dec 4, 2023): Looks like this issue is asking about running ollama on a server and that question is resolved in the last comment about running on linux as a daemon. I will go ahead and close it now. If you think there is anything we left out, reopen and we can address. Thanks for being part of this great community.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62573