cleanup.sh 217 B

123456789
  1. #!/usr/bin/env bash
  2. # Stop backend processes
  3. ray stop
  4. # Kill Java workers
  5. # shellcheck disable=SC2009
  6. ps aux | grep DefaultWorker | grep -v grep | awk '{print $2}' | xargs kill -9
  7. # Remove temp files
  8. rm -rf /tmp/ray