make ollama-* actions user-independent
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user