diff --git a/mm-scripts.sh b/mm-scripts.sh index 07d8f5b..80e8ae3 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -463,10 +463,12 @@ MMSTOP(){ until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}" for srvc in "${!MM_SERVICES[@]}"; do - if [[ ${srvc} != *"vpn"* ]] && [[ ${srvc} != *"wireguard"* ]]; then + if [[ ${srvc} != *"qbittorrent"* ]] && [[ ${srvc} != *"vpn"* ]] && [[ ${srvc} != *"wireguard"* ]]; then /bin/systemctl stop ${srvc} >/dev/null 2>&1 & fi done + sleep 2s + /bin/systemctl stop qbittorrent echo -e "${idsCL[Green]}Done${idsCL[Default]}" msg="Waiting for Services to stop"