Compare commits

..

2 Commits

Author SHA1 Message Date
3755c324fd Add LD_LIBRARY_PATH to ollama service 2024-09-14 13:31:38 -05:00
bf0bf38370 Update autocategorize 2024-09-14 13:31:30 -05:00
2 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,7 @@ find "$HOME" \
# Remove anything kinda old but really big # Remove anything kinda old but really big
echo "Removing large downloads..." echo "Removing large downloads..."
find "$downloaddir" \ find "$downloaddir" \
-mtime +30 -size 10M \ -mtime +30 -size +10M \
-print -delete -print -delete
# Remove zips, but at a lower tolerance # Remove zips, but at a lower tolerance
echo "Removing old zips..." echo "Removing old zips..."

View File

@ -4,6 +4,7 @@ After=network-online.target
[Service] [Service]
Environment="OLLAMA_HOST=0.0.0.0" Environment="OLLAMA_HOST=0.0.0.0"
Environment="LD_LIBRARY_PATH=/var/home/salt/Projects/ollama/rocm/lib/ollama/"
ExecStart=/home/salt/Projects/ollama/ollama serve ExecStart=/home/salt/Projects/ollama/ollama serve
Restart=always Restart=always
RestartSec=3 RestartSec=3