docs: add customization section in linux.md (#7709)

This commit is contained in:
Jeffrey Morgan 2024-11-17 11:48:12 -08:00 committed by GitHub
parent 4759d879f2
commit b42a596425
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,6 +112,21 @@ sudo systemctl status ollama
> https://www.amd.com/en/support/linux-drivers for best support of your Radeon
> GPU.
## Customizing
To customize the installation of Ollama, you can edit the systemd service file or the environment variables by running:
```
sudo systemctl edit ollama
```
Alternatively, create an override file manually in `/etc/systemd/system/ollama.service.d/override.conf`:
```ini
[Service]
Environment="OLLAMA_DEBUG=1"
```
## Updating
Update Ollama by running the install script again: