This commit is contained in:
Slaviša Arežina
2026-01-06 22:58:04 +01:00
committed by GitHub
parent 08d67aa722
commit 16f34e9bd0
3 changed files with 3 additions and 14 deletions

View File

@@ -17,14 +17,9 @@ msg_info "Installing Dependencies"
$STD apt install -y sqlite3
msg_ok "Installed Dependencies"
msg_info "Installing Sonarr v4"
fetch_and_deploy_gh_release "Sonarr" "Sonarr/Sonarr" "prebuild" "latest" "/opt/Sonarr" "Sonarr.main.*.linux-x64.tar.gz"
mkdir -p /var/lib/sonarr/
chmod 775 /var/lib/sonarr/
curl -fsSL "https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64" -o "SonarrV4.tar.gz"
tar -xzf SonarrV4.tar.gz
mv Sonarr /opt
rm -rf SonarrV4.tar.gz
msg_ok "Installed Sonarr v4"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/sonarr.service