Update mm-scripts.sh

This commit is contained in:
2022-05-12 20:52:04 -05:00
parent 9cd0211144
commit 62dff8cdad

View File

@@ -140,15 +140,23 @@ MMSTOP(){
done done
checked=false checked=false
until [ "${checked}" = "" ]; do until [ "${checked}" = "" ]; do
if ! lsof -Pi :5858 -sTCP:LISTEN -t >/dev/null; then if ! lsof -Pi :5000 -sTCP:LISTEN -t >/dev/null; then #ombi
if ! lsof -Pi :5555 -sTCP:LISTEN -t >/dev/null; then if ! lsof -Pi :5555 -sTCP:LISTEN -t >/dev/null; then #radarr
if ! lsof -Pi :5556 -sTCP:LISTEN -t >/dev/null; then if ! lsof -Pi :5556 -sTCP:LISTEN -t >/dev/null; then #radarr3d
if ! lsof -Pi :5656 -sTCP:LISTEN -t >/dev/null; then if ! lsof -Pi :5656 -sTCP:LISTEN -t >/dev/null; then #sonarr
if ! lsof -Pi :5858 -sTCP:LISTEN -t >/dev/null; then #qbittorrent
if ! lsof -Pi :8181 -sTCP:LISTEN -t >/dev/null; then #tautulli
if ! lsof -Pi :8686 -sTCP:LISTEN -t >/dev/null; then #jackett
if ! lsof -Pi :9117 -sTCP:LISTEN -t >/dev/null; then #jackett
checked="" checked=""
fi fi
fi fi
fi fi
fi fi
fi
fi
fi
fi
done done
echo -e "${idsCL[Green]} done${idsCL[Default]}" echo -e "${idsCL[Green]} done${idsCL[Default]}"