|
@ -245,8 +245,10 @@ fn_stop_teamspeak3(){ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
fn_stop_mumble(){ |
|
|
fn_stop_mumble(){ |
|
|
|
|
|
# Get needed port info |
|
|
|
|
|
info_config.sh |
|
|
fn_print_dots "Stopping ${servername}" |
|
|
fn_print_dots "Stopping ${servername}" |
|
|
mumblepid=$(netstat -nap 2>/dev/null | grep udp | grep 64738 | grep murmur | awk '{ print $6 }' | awk -F'/' '{ print $1 }') |
|
|
mumblepid=$(netstat -nap 2>/dev/null | grep udp | grep "${port}" | grep murmur | awk '{ print $6 }' | awk -F'/' '{ print $1 }') |
|
|
kill ${mumblepid} |
|
|
kill ${mumblepid} |
|
|
sleep 1 |
|
|
sleep 1 |
|
|
check_status.sh |
|
|
check_status.sh |
|
|