Update mm-scripts.sh

This commit is contained in:
2023-04-27 15:43:54 -05:00
parent 57656b94de
commit 46d6bf685d

View File

@@ -916,7 +916,7 @@ UPDATESERVICE(){
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
OUT=$(ip link | grep "$VPN_INTERFACE") >/dev/null 2>&1
if [[ " ${SERVICES_CHECK[*]} " =~ " ${usrvc} " ]] && [ ! -f ${MMFOLDER}/mm.noservices ] && [[ ! `find /opt/idssys/mediamanager/ -name 'mm.plexmount.fail*'` ]]; then
if [[ " ${SERVICES_CHECK[*]} " =~ " ${usrvc} " ]] && [ ! -f ${MMFOLDER}/mm.noservices ] && [ ! `find /opt/idssys/mediamanager/ -name 'mm.plexmount.fail*'` ]; then
/bin/systemctl disable ${usrvc} >> ${MMFOLDER}/logs/update.${usrvc}
# /bin/systemctl start ${usrvc} >> ${MMFOLDER}/logs/update.${usrvc}
# [ "${usrvc}" == "radarr" ] && [[ " ${SERVICES_CHECK[*]} " =~ " radarr3d " ]] && /bin/systemctl start radarr3d >> ${MMFOLDER}/logs/update.${usrvc}