diff --git a/mm-scripts.sh b/mm-scripts.sh index 4700bd3..8f5ea2c 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -209,6 +209,10 @@ MMSTART(){ if [ "${EMAIL_NOTICE}" != "" ] && [ ${PMFS} = true ]; then echo "Could not mount the Plex Media Folder" | mail -s "Plex Media Not Mounted" ${EMAIL_NOTICE} touch /opt/idssys/mediamanager/mm.plexmount.fail + else + for srvc in "${SERVICES_CHECK[@]}"; do + /bin/systemctl stop ${srvc} + done fi fi fi