make ollama-* actions user-independent
Some checks failed
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Failing after 3m13s
Podman DDNS Image / build-and-push-ddns (push) Successful in 50s

This commit is contained in:
2025-05-04 23:59:00 -04:00
parent ab2b033c54
commit b3e4a45996
3 changed files with 4 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash
kill $(cat /tmp/ollama.pid)
kill $(cat /tmp/ollama-$USER.pid)

View File

@@ -1,3 +1,3 @@
#!/bin/bash
tail -f /tmp/ollama.log
tail -f /tmp/ollama-$USER.log

View File

@@ -1,5 +1,5 @@
#!/bin/bash
ollama serve &> /tmp/ollama.log &
ollama serve &> /tmp/ollama-$USER.log &
OLLAMA_PID=$!
echo $OLLAMA_PID > /tmp/ollama.pid
echo $OLLAMA_PID > /tmp/ollama-$USER.pid