Update mm-scripts.sh

This commit is contained in:
2023-04-23 18:45:53 -05:00
parent 64afdc6ddb
commit 6dc3be76c9

View File

@@ -279,10 +279,10 @@ MMSTART(){
fi fi
if [ ${PMFS} = true ]; then if [ ${PMFS} = true ]; then
touch ${MMFOLDER}/mm.plexmount.fail
SENDNOTICE "Plex Media Not Mounted" "Could not mount the Plex Media Folder" 1 SENDNOTICE "Plex Media Not Mounted" "Could not mount the Plex Media Folder" 1
echo "$(date) - Plex Media could not be mounted" >> $logfile echo "$(date) - Plex Media could not be mounted" >> $logfile
fi fi
touch ${MMFOLDER}/mm.plexmount.fail
echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}" echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}"
for srvc in "${SERVICES_CHECK[@]}"; do for srvc in "${SERVICES_CHECK[@]}"; do
/bin/systemctl stop ${srvc} >/dev/null 2>&1 & /bin/systemctl stop ${srvc} >/dev/null 2>&1 &