Cant remember

This commit is contained in:
2025-01-29 18:53:44 -06:00
parent 458819910a
commit ee48ff7e5a
4 changed files with 33 additions and 3 deletions

View File

@ -136,12 +136,13 @@ Description=Ollama Service
After=network-online.target
[Service]
ExecStart=/bin/bash -lc 'OLLAMA_HOST=0.0.0.0:4242 $BINDIR/ollama serve'
ExecStart=$BINDIR/ollama serve
User=ollama
Group=ollama
Restart=always
RestartSec=3
Environment="PATH=$PATH"
Environment="OLLAMA_HOST=0.0.0.0:4242"
[Install]
WantedBy=default.target