Browse Source

Fixes #1136

pull/1138/head
UltimateByte 9 years ago
committed by GitHub
parent
commit
452d014ae0
  1. 4
      lgsm/functions/command_stop.sh

4
lgsm/functions/command_stop.sh

@ -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

Loading…
Cancel
Save