Skip to content

Commit 7a81794

Browse files
committed
Replace local-dev's killall with pkill, at Juni's suggestion
1 parent 3061a1d commit 7a81794

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

local-dev.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ cleanup() {
5050

5151
# Ensure Python processes are terminated
5252
# Find and kill any remaining Python processes started by uv
53-
killall -f "uv run" || true
53+
pkill -f "uv run" || true
5454

5555
# Kill any Python processes that might have been started by the script
56-
killall -f "python.*mlflow" || true
57-
killall -f "python.*fastapi" || true
58-
killall -f "python.*reconciler" || true
56+
pkill -f "python.*mlflow" || true
57+
pkill -f "python.*fastapi" || true
58+
pkill -f "python.*reconciler" || true
5959

6060
# As a last resort, try to find any Python processes in our virtual environment
6161
if [ -d "llm-service/venv" ]; then
62-
killall -f "llm-service/venv/bin/python" || true
62+
pkill -f "llm-service/venv/bin/python" || true
6363
fi
6464

6565
# Stop Docker containers

0 commit comments

Comments
 (0)