Update mm-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user