This commit is contained in:
2023-05-02 20:25:26 -05:00
parent dacdb0c4c3
commit d8b07c8ea4
2 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='3.8.208-04292023'
VERS='3.8.209-05022023'
MMFOLDER="/opt/idssys/mediamanager"
MMSRV=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
@@ -58,8 +58,8 @@ MM_SERVICE_CFG['jackett']='/home/user/.config/Jackett'
MM_SERVICE_CFG['bazarr']=''
declare -A MM_SERVICE_APP
MM_SERVICE_CFG['sonarr']='/usr/lib/sonarr/bin'
MM_SERVICE_CFG['snap.tautulli.tautulli']='/snap/tautulli/current'
MM_SERVICE_APP['sonarr']='/usr/lib/sonarr/bin'
MM_SERVICE_APP['snap.tautulli.tautulli']='/snap/tautulli/current'
declare -A MM_UPDATE_REPO
#MM_UPDATE_REPO['ombi']='Ombi-app'

View File

@@ -875,7 +875,7 @@ UPDATESERVICE(){
cver=${usrvc}_VER
if [ "${!cver}" != "${latest_ver}" ] || [ "${2}" == "force" ]; then
[ "${2}" == "force" ] && echo -e "${idsCL[LightCyan]} Update Not Needed, but forcing anyway${idsCL[Default]}" || echo -e "${idsCL[Green]}Done${idsCL[Default]}"
[ "${2}" == "force" ] && echo -e "${idsCL[LightCyan]}Update Not Needed, but forcing anyway${idsCL[Default]}" || echo -e "${idsCL[Green]}Done${idsCL[Default]}"
# rm -f ${MMFOLDER}/logs/update.${usrvc}
touch ${MMFOLDER}/logs/update.${usrvc}
@@ -976,7 +976,7 @@ SERVICEBACKUP(){
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
}
SERVICEBACKUPSTART(){
msg="Starting service back up"; c=0; spc=''; spc1=$((${cw_spc}-${#msg})); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
msg="Starting Service"; c=0; spc=''; spc1=$((${cw_spc}-${#msg})); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
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