Update mm-scripts.sh

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

View File

@@ -140,11 +140,19 @@ MMSTOP(){
done
checked=false
until [ "${checked}" = "" ]; do
if ! lsof -Pi :5858 -sTCP:LISTEN -t >/dev/null; then
if ! lsof -Pi :5555 -sTCP:LISTEN -t >/dev/null; then
if ! lsof -Pi :5556 -sTCP:LISTEN -t >/dev/null; then
if ! lsof -Pi :5656 -sTCP:LISTEN -t >/dev/null; then
checked=""
if ! lsof -Pi :5000 -sTCP:LISTEN -t >/dev/null; then #ombi
if ! lsof -Pi :5555 -sTCP:LISTEN -t >/dev/null; then #radarr
if ! lsof -Pi :5556 -sTCP:LISTEN -t >/dev/null; then #radarr3d
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=""
fi
fi
fi
fi
fi
fi
fi