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

@@ -32,13 +32,7 @@ function update_script() {
systemctl stop sonarr
msg_ok "Stopped Service"
msg_info "Updating 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
rm -rf /opt/Sonarr
mv Sonarr /opt
rm -rf SonarrV4.tar.gz
msg_ok "Updated Sonarr"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Sonarr" "Sonarr/Sonarr" "prebuild" "latest" "/opt/Sonarr" "Sonarr.main.*.linux-x64.tar.gz"
msg_info "Starting Service"
systemctl start sonarr

View File

@@ -12,7 +12,7 @@
"documentation": "https://wiki.servarr.com/sonarr",
"website": "https://sonarr.tv/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/sonarr.webp",
"config_path": "",
"config_path": "/var/lib/sonarr/config.xml",
"description": "Sonarr is a personal video recorder (PVR) software designed for Usenet and BitTorrent users. It allows users to manage and organize their TV show collection with ease. Sonarr integrates with popular Usenet and BitTorrent clients, such as NZBget and Transmission, to automate the downloading and organizing of TV show files. The software provides a web-based interface for managing and organizing TV shows, making it easy to search and find titles, seasons, and episodes. Sonarr also supports metadata management, including TV show posters and information, making it easy for users to keep their TV show collection organized and up-to-date. The software is designed to be easy to use and provides a simple and intuitive interface for managing and organizing TV show collections, making it a valuable tool for TV show enthusiasts who want to keep their collection organized and up-to-date. With Sonarr, users can enjoy their TV show collection from anywhere, making it a powerful tool for managing and sharing TV show files.",
"install_methods": [
{

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