[GH-ISSUE #6519] Installer: Linux : Ask if unit/systemd file needs to be recreated or left alone #29866

Closed
opened 2026-04-22 09:08:30 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @jonz-secops on GitHub (Aug 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6519

It's one of the minor and few annoyances, but also potentially easy to resolve. That every time a new installation of ollama is performed on linux we need to return the the unit/systemd file and recreate our modifications.

Possible solutions:

  1. backup the existing to a ._bu file, then ask if it should be restored

  2. prompt for recreating the unit file if or not with (y/n)

Originally created by @jonz-secops on GitHub (Aug 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6519 It's one of the minor and few annoyances, but also potentially easy to resolve. That every time a new installation of ollama is performed on linux we need to return the the unit/systemd file and recreate our modifications. Possible solutions: 1. backup the existing to a ._bu file, then ask if it should be restored 2. prompt for recreating the unit file if or not with (y/n)
GiteaMirror added the feature request label 2026-04-22 09:08:30 -05:00
Author
Owner

@rick-github commented on GitHub (Aug 26, 2024):

Add your overrides to /etc/systemd/system/ollama.service.d/override.conf.

<!-- gh-comment-id:2310682613 --> @rick-github commented on GitHub (Aug 26, 2024): Add your overrides to `/etc/systemd/system/ollama.service.d/override.conf`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#29866