update
This commit is contained in:
@@ -41,7 +41,7 @@ MM_UPDATE_REPO['ombi']='Ombi-app'
|
|||||||
MM_UPDATE_REPO['radarr']='radarr'
|
MM_UPDATE_REPO['radarr']='radarr'
|
||||||
MM_UPDATE_REPO['lidarr']='lidarr'
|
MM_UPDATE_REPO['lidarr']='lidarr'
|
||||||
MM_UPDATE_REPO['jackett']='jackett'
|
MM_UPDATE_REPO['jackett']='jackett'
|
||||||
MM_UPDATE_REPO['bazarr']='morpheus65535'
|
# MM_UPDATE_REPO['bazarr']='morpheus65535'
|
||||||
|
|
||||||
declare -A MM_UPDATE_REPO_GREP
|
declare -A MM_UPDATE_REPO_GREP
|
||||||
MM_UPDATE_REPO_GREP['ombi']='linux-x64'
|
MM_UPDATE_REPO_GREP['ombi']='linux-x64'
|
||||||
|
|||||||
@@ -737,6 +737,12 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
|||||||
update-service)
|
update-service)
|
||||||
UPDATESERVICE ${2}
|
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]}"
|
clear) echo -e "${idsCL[LightCyan]}Clearing all mm.* files ${idsCL[Default]}"
|
||||||
echo
|
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]}start${idsCL[Default]} --> Start services"
|
||||||
echo -e " ${idsCL[Yellow]}stop${idsCL[Default]} --> Stop services"
|
echo -e " ${idsCL[Yellow]}stop${idsCL[Default]} --> Stop services"
|
||||||
echo -e " ${idsCL[Yellow]}restart${idsCL[Default]} --> Restart 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
|
||||||
echo -e " ${idsCL[Yellow]}status${idsCL[Default]} --> Check Status on VPN and Media Services"
|
echo -e " ${idsCL[Yellow]}status${idsCL[Default]} --> Check Status on VPN and Media Services"
|
||||||
echo -e " ${idsCL[Yellow]}vpninfo${idsCL[Default]} --> Show VPN Info"
|
echo -e " ${idsCL[Yellow]}vpninfo${idsCL[Default]} --> Show VPN Info"
|
||||||
|
|||||||
Reference in New Issue
Block a user