Update mm-scripts.sh
This commit is contained in:
1 parent
9cd0211144
commit
62dff8cdad
1 file changed
+13
-5
+13
-5
@@ -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