From 1d7b6187060b2545de3aee61db7152e7ba876c8b Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Thu, 28 Jul 2016 00:58:25 +0200 Subject: [PATCH] tmux stop better location --- lgsm/functions/command_stop.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lgsm/functions/command_stop.sh b/lgsm/functions/command_stop.sh index 3a826ff35..ccb350c12 100644 --- a/lgsm/functions/command_stop.sh +++ b/lgsm/functions/command_stop.sh @@ -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}"