This commit is contained in:
2023-03-25 13:42:08 -05:00
parent 7c51584ddc
commit e8dd8eafbd
2 changed files with 9 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ MM_UPDATE_REPO['ombi']='Ombi-app'
MM_UPDATE_REPO['radarr']='radarr'
MM_UPDATE_REPO['lidarr']='lidarr'
MM_UPDATE_REPO['jackett']='jackett'
MM_UPDATE_REPO['bazarr']='morpheus65535'
# MM_UPDATE_REPO['bazarr']='morpheus65535'
declare -A MM_UPDATE_REPO_GREP
MM_UPDATE_REPO_GREP['ombi']='linux-x64'

View File

@@ -737,6 +737,12 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
update-service)
UPDATESERVICE ${2}
;;
update-allservices)
for usrvc in "${SERVICES_CHECK[@]}"; do
[ "${MM_UPDATE_REPO[${usrvc}]}" != "" ] && UPDATESERVICE ${usrvc}
done
;;
clear) echo -e "${idsCL[LightCyan]}Clearing all mm.* files ${idsCL[Default]}"
echo
;;
@@ -747,7 +753,8 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
echo -e " ${idsCL[Yellow]}start${idsCL[Default]} --> Start services"
echo -e " ${idsCL[Yellow]}stop${idsCL[Default]} --> Stop services"
echo -e " ${idsCL[Yellow]}restart${idsCL[Default]} --> Restart services"
echo -e " ${idsCL[Yellow]}update-service <service>${idsCL[Default]} --> Update services"
echo -e " ${idsCL[Yellow]}update-allservices ${idsCL[Default]} --> Update all services"
echo -e " ${idsCL[Yellow]}update-service <service>${idsCL[Default]} --> Update specified service"
echo
echo -e " ${idsCL[Yellow]}status${idsCL[Default]} --> Check Status on VPN and Media Services"
echo -e " ${idsCL[Yellow]}vpninfo${idsCL[Default]} --> Show VPN Info"