-
-
Save omcandido/57da322854de7dc35de83d5ee4c1651e to your computer and use it in GitHub Desktop.
Sript to terminate the rcssserver and (optionally) its keepaway players
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
killall -9 rcssserver | |
while getopts 'f' flag; do | |
case "${flag}" in | |
f) killall -9 keepaway_player ;; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use
./killserver
to terminate just rcssserver.use
./killserver -f
to terminate the players as well