This commit is contained in:
2023-04-27 13:59:44 -05:00
parent 535477f77d
commit 2dcfe4b137
2 changed files with 6 additions and 4 deletions

View File

@@ -304,9 +304,11 @@ MMSTART(){
echo "$(date) - Plex Media could not be mounted" >> $logfile
fi
echo -e "${idsCL[Red]}Not Mounted${idsCL[Default]}"
for srvc in "${SERVICES_CHECK[@]}"; do
/bin/systemctl stop ${srvc} >/dev/null 2>&1 &
done
if [ ! -f ${MMFOLDER}/mm.noservices ]; then
for srvc in "${SERVICES_CHECK[@]}"; do
/bin/systemctl stop ${srvc} >/dev/null 2>&1 &
done
fi
else
echo -e "${idsCL[Green]}Mounted, fixed${idsCL[Default]}"