Update mm-scripts.sh
This commit is contained in:
1 parent
1c9cd7dea4
commit
7ac88b4bf8
1 file changed
+4
@@ -209,6 +209,10 @@ MMSTART(){
|
|||||||
if [ "${EMAIL_NOTICE}" != "" ] && [ ${PMFS} = true ]; then
|
if [ "${EMAIL_NOTICE}" != "" ] && [ ${PMFS} = true ]; then
|
||||||
echo "Could not mount the Plex Media Folder" | mail -s "Plex Media Not Mounted" ${EMAIL_NOTICE}
|
echo "Could not mount the Plex Media Folder" | mail -s "Plex Media Not Mounted" ${EMAIL_NOTICE}
|
||||||
touch /opt/idssys/mediamanager/mm.plexmount.fail
|
touch /opt/idssys/mediamanager/mm.plexmount.fail
|
||||||
|
else
|
||||||
|
for srvc in "${SERVICES_CHECK[@]}"; do
|
||||||
|
/bin/systemctl stop ${srvc}
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user