mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-19 12:56:01 +00:00
Update arr-update.sh
This commit is contained in:
@@ -31,7 +31,7 @@ if [[ "$APP" == "Prowlarr" ]]; then
|
|||||||
branch="develop"
|
branch="develop"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dlbase="https://$APP.servarr.com/v1/update/$branch/updatefile?os=linux&runtime=netcore&arch=x64"
|
dlbase="https://${APP,,}.servarr.com/v1/update/$branch/updatefile?os=linux&runtime=netcore&arch=x64"
|
||||||
|
|
||||||
#Sonarr
|
#Sonarr
|
||||||
if [[ "$APP" == "Sonarr" ]]; then
|
if [[ "$APP" == "Sonarr" ]]; then
|
||||||
@@ -39,7 +39,7 @@ dlbase="https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&ar
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Stopping $APP"
|
msg_info "Stopping $APP"
|
||||||
#systemctl stop $APP
|
systemctl stop ${APP,,}
|
||||||
msg_ok "Stopped $APP"
|
msg_ok "Stopped $APP"
|
||||||
|
|
||||||
msg_info "Updating Dependencies"
|
msg_info "Updating Dependencies"
|
||||||
@@ -56,5 +56,5 @@ rm -rf ${APP^}.*.tar.gz
|
|||||||
msg_ok "Updated $APP"
|
msg_ok "Updated $APP"
|
||||||
|
|
||||||
|
|
||||||
#systemctl start $APP
|
systemctl start ${APP,,}
|
||||||
msg_ok "Started $APP"
|
msg_ok "Started $APP"
|
||||||
|
|||||||
Reference in New Issue
Block a user