|
|
@ -215,7 +215,6 @@ fn_stop_teamspeak3(){ |
|
|
|
|
|
|
|
fn_stop_mumble(){ |
|
|
|
fn_print_dots "Stopping ${servername}" |
|
|
|
fn_stop_tmux |
|
|
|
mumblepid=$(netstat -nap 2>/dev/null | grep udp | grep 64738 | grep murmur | awk '{ print $6 }' | awk -F'/' '{ print $1 }') |
|
|
|
kill ${mumblepid} |
|
|
|
sleep 1 |
|
|
@ -223,7 +222,7 @@ fn_stop_mumble(){ |
|
|
|
if [ "${status}" == "0" ]; then |
|
|
|
# Remove lock file |
|
|
|
rm -f "${rootdir}/${lockselfname}" |
|
|
|
fn_print_ok_nl "${servername}" |
|
|
|
fn_stop_tmux |
|
|
|
fn_script_log_pass "Stopped ${servername}" |
|
|
|
else |
|
|
|
fn_print_fail_nl "Unable to stop ${servername}" |
|
|
|