diff --git a/active/software_distoolbox/arch-toolbox-supporting-files/ollama-kill b/active/software_distoolbox/arch-toolbox-supporting-files/ollama-kill index e9c2e59..a644eeb 100644 --- a/active/software_distoolbox/arch-toolbox-supporting-files/ollama-kill +++ b/active/software_distoolbox/arch-toolbox-supporting-files/ollama-kill @@ -1,3 +1,3 @@ #!/bin/bash -kill $(cat /tmp/ollama.pid) \ No newline at end of file +kill $(cat /tmp/ollama-$USER.pid) \ No newline at end of file diff --git a/active/software_distoolbox/arch-toolbox-supporting-files/ollama-log b/active/software_distoolbox/arch-toolbox-supporting-files/ollama-log index 06a44b6..b0e2e8f 100644 --- a/active/software_distoolbox/arch-toolbox-supporting-files/ollama-log +++ b/active/software_distoolbox/arch-toolbox-supporting-files/ollama-log @@ -1,3 +1,3 @@ #!/bin/bash -tail -f /tmp/ollama.log \ No newline at end of file +tail -f /tmp/ollama-$USER.log \ No newline at end of file diff --git a/active/software_distoolbox/arch-toolbox-supporting-files/ollama-serve b/active/software_distoolbox/arch-toolbox-supporting-files/ollama-serve index c6a34c1..f27a788 100644 --- a/active/software_distoolbox/arch-toolbox-supporting-files/ollama-serve +++ b/active/software_distoolbox/arch-toolbox-supporting-files/ollama-serve @@ -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 \ No newline at end of file +echo $OLLAMA_PID > /tmp/ollama-$USER.pid \ No newline at end of file