Files

5 lines
264 B
Bash
Executable File

#!/usr/bin/env bash
# scripts/stop.sh — tear down the tmux session and backend
tmux kill-session -t chess 2>/dev/null && echo "[ai-chess] tmux session 'chess' killed" || true
pkill -f 'python -m ai_chess' 2>/dev/null && echo "[ai-chess] backend stopped" || true