Skip to content

Instantly share code, notes, and snippets.

@omcandido
Created March 13, 2023 10:56
Show Gist options
  • Save omcandido/57da322854de7dc35de83d5ee4c1651e to your computer and use it in GitHub Desktop.
Save omcandido/57da322854de7dc35de83d5ee4c1651e to your computer and use it in GitHub Desktop.
Sript to terminate the rcssserver and (optionally) its keepaway players
#!/bin/bash
killall -9 rcssserver
while getopts 'f' flag; do
case "${flag}" in
f) killall -9 keepaway_player ;;
esac
done
@omcandido
Copy link
Author

use ./killserver to terminate just rcssserver.
use ./killserver -f to terminate the players as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment