updated with ollama.service for env in /etc/default/ollama

This commit is contained in:
draeician 2024-05-15 20:25:47 -05:00
parent 84ed77cbd8
commit 1ece87cb84

View File

@ -110,6 +110,8 @@ Group=ollama
Restart=always
RestartSec=3
Environment="PATH=$PATH"
EnvironmentFile=/etc/default/ollama
ExecStartPre=/bin/bash -c 'if [ -f /etc/default/ollama ]; then echo "Loaded environment file: /etc/default/ollama"; fi'
[Install]
WantedBy=default.target