From 565ac2e5f5407066ef522cca9226347e5004ba90 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Wed, 1 Feb 2023 13:53:16 +0100 Subject: [PATCH] update --- sabnzb/build.json | 10 ---------- {sabnzb => sabnzbd}/CHANGELOG.md | 0 {sabnzb => sabnzbd}/Dockerfile | 2 +- {sabnzb => sabnzbd}/README.md | 16 ++++++++-------- {sabnzb => sabnzbd}/apparmor.txt | 2 +- sabnzbd/build.json | 10 ++++++++++ {sabnzb => sabnzbd}/config.json | 4 ++-- {sabnzb => sabnzbd}/icon.png | Bin {sabnzb => sabnzbd}/logo.png | Bin .../rootfs/etc/cont-init.d/20-folders.sh | 2 +- .../rootfs/etc/cont-init.d/32-nginx_ingress.sh | 8 ++++---- .../rootfs/etc/nginx/includes/mime.types | 0 .../rootfs/etc/nginx/includes/proxy_params.conf | 0 .../rootfs/etc/nginx/includes/resolver.conf | 0 .../etc/nginx/includes/server_params.conf | 0 .../rootfs/etc/nginx/includes/ssl_params.conf | 0 .../rootfs/etc/nginx/includes/upstream.conf | 0 {sabnzb => sabnzbd}/rootfs/etc/nginx/nginx.conf | 0 .../rootfs/etc/nginx/servers/ingress.conf | 2 +- .../rootfs/etc/services.d/nginx/finish | 0 .../rootfs/etc/services.d/nginx/run | 0 {sabnzb => sabnzbd}/translations/en.yaml | 0 {sabnzb => sabnzbd}/updater.json | 4 ++-- 23 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 sabnzb/build.json rename {sabnzb => sabnzbd}/CHANGELOG.md (100%) rename {sabnzb => sabnzbd}/Dockerfile (99%) rename {sabnzb => sabnzbd}/README.md (84%) rename {sabnzb => sabnzbd}/apparmor.txt (94%) create mode 100644 sabnzbd/build.json rename {sabnzb => sabnzbd}/config.json (97%) rename {sabnzb => sabnzbd}/icon.png (100%) rename {sabnzb => sabnzbd}/logo.png (100%) rename {sabnzb => sabnzbd}/rootfs/etc/cont-init.d/20-folders.sh (97%) rename {sabnzb => sabnzbd}/rootfs/etc/cont-init.d/32-nginx_ingress.sh (64%) rename {sabnzb => sabnzbd}/rootfs/etc/nginx/includes/mime.types (100%) rename {sabnzb => sabnzbd}/rootfs/etc/nginx/includes/proxy_params.conf (100%) rename {sabnzb => sabnzbd}/rootfs/etc/nginx/includes/resolver.conf (100%) rename {sabnzb => sabnzbd}/rootfs/etc/nginx/includes/server_params.conf (100%) rename {sabnzb => sabnzbd}/rootfs/etc/nginx/includes/ssl_params.conf (100%) rename {sabnzb => sabnzbd}/rootfs/etc/nginx/includes/upstream.conf (100%) rename {sabnzb => sabnzbd}/rootfs/etc/nginx/nginx.conf (100%) rename {sabnzb => sabnzbd}/rootfs/etc/nginx/servers/ingress.conf (96%) rename {sabnzb => sabnzbd}/rootfs/etc/services.d/nginx/finish (100%) rename {sabnzb => sabnzbd}/rootfs/etc/services.d/nginx/run (100%) rename {sabnzb => sabnzbd}/translations/en.yaml (100%) rename {sabnzb => sabnzbd}/updater.json (69%) diff --git a/sabnzb/build.json b/sabnzb/build.json deleted file mode 100644 index b823855f0..000000000 --- a/sabnzb/build.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "build_from": { - "aarch64": "lscr.io/linuxserver/sabnzb:arm64v8-latest", - "amd64": "lscr.io/linuxserver/sabnzb:amd64-latest", - "armv7": "lscr.io/linuxserver/sabnzb:arm32v7-latest" - }, - "codenotary": { - "signer": "alexandrep.github@gmail.com" - } -} \ No newline at end of file diff --git a/sabnzb/CHANGELOG.md b/sabnzbd/CHANGELOG.md similarity index 100% rename from sabnzb/CHANGELOG.md rename to sabnzbd/CHANGELOG.md diff --git a/sabnzb/Dockerfile b/sabnzbd/Dockerfile similarity index 99% rename from sabnzb/Dockerfile rename to sabnzbd/Dockerfile index 923767cd9..e5a52fe04 100644 --- a/sabnzb/Dockerfile +++ b/sabnzbd/Dockerfile @@ -28,7 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ S6_SERVICES_GRACETIME=0 # Global LSIO modifications -ARG CONFIGLOCATION="/config/addons_config/sabnzb" +ARG CONFIGLOCATION="/config/addons_config/sabnzbd" # hadolint ignore=SC2015, SC2013, SC2086 RUN \ # Avoid custom-init.d duplications diff --git a/sabnzb/README.md b/sabnzbd/README.md similarity index 84% rename from sabnzb/README.md rename to sabnzbd/README.md index fc9504c70..05f2ebe04 100644 --- a/sabnzb/README.md +++ b/sabnzbd/README.md @@ -1,10 +1,10 @@ -# Home assistant add-on: sabnzb +# Home assistant add-on: sabnzbd [![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium) -![Version](https://img.shields.io/badge/dynamic/json?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzb%2Fconfig.json) -![Ingress](https://img.shields.io/badge/dynamic/json?label=Ingress&query=%24.ingress&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzb%2Fconfig.json) -![Arch](https://img.shields.io/badge/dynamic/json?color=success&label=Arch&query=%24.arch&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzb%2Fconfig.json) +![Version](https://img.shields.io/badge/dynamic/json?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzbd%2Fconfig.json) +![Ingress](https://img.shields.io/badge/dynamic/json?label=Ingress&query=%24.ingress&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzbd%2Fconfig.json) +![Arch](https://img.shields.io/badge/dynamic/json?color=success&label=Arch&query=%24.arch&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzbd%2Fconfig.json) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/9c6cf10bdbba45ecb202d7f579b5be0e)](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade) [![GitHub Super-Linter](https://github.com/alexbelgium/hassio-addons/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter) @@ -18,13 +18,13 @@ _Thanks to everyone having starred my repo! To star it click on the image below, ## About -[sabnzb](http://sabnzb.net/) is a usenet downloader, written in C++ and designed with performance in mind to achieve maximum download speed by using very little system resources. -This addon is based on the docker image https://github.com/linuxserver/docker-sabnzb +[sabnzbd](http://sabnzbd.net/) is a usenet downloader, written in C++ and designed with performance in mind to achieve maximum download speed by using very little system resources. +This addon is based on the docker image https://github.com/linuxserver/docker-sabnzbd ## Configuration Webui can be found at . -The default username/password : login:sabnzb, password:tegbzn6789 +The default username/password : login:sabnzbd, password:tegbzn6789 Configurations can be done through the app webUI, except for the following options ```yaml @@ -56,6 +56,6 @@ Create an issue on github ## Illustration -![illustration](https://sabnzb.com/img/slider/artistdetails.png) +![illustration](https://sabnzbd.com/img/slider/artistdetails.png) [repository]: https://github.com/alexbelgium/hassio-addons diff --git a/sabnzb/apparmor.txt b/sabnzbd/apparmor.txt similarity index 94% rename from sabnzb/apparmor.txt rename to sabnzbd/apparmor.txt index b5e7b0b4b..45dda937d 100644 --- a/sabnzb/apparmor.txt +++ b/sabnzbd/apparmor.txt @@ -1,6 +1,6 @@ #include -profile sabnzb_addon flags=(attach_disconnected,mediate_deleted) { +profile sabnzbd_addon flags=(attach_disconnected,mediate_deleted) { #include capability, diff --git a/sabnzbd/build.json b/sabnzbd/build.json new file mode 100644 index 000000000..98497bb55 --- /dev/null +++ b/sabnzbd/build.json @@ -0,0 +1,10 @@ +{ + "build_from": { + "aarch64": "lscr.io/linuxserver/sabnzbd:arm64v8-latest", + "amd64": "lscr.io/linuxserver/sabnzbd:amd64-latest", + "armv7": "lscr.io/linuxserver/sabnzbd:arm32v7-latest" + }, + "codenotary": { + "signer": "alexandrep.github@gmail.com" + } +} \ No newline at end of file diff --git a/sabnzb/config.json b/sabnzbd/config.json similarity index 97% rename from sabnzb/config.json rename to sabnzbd/config.json index 7c8481ca8..7c058ec65 100644 --- a/sabnzb/config.json +++ b/sabnzbd/config.json @@ -53,7 +53,7 @@ "media:rw", "config:rw" ], - "name": "Sabnzb", + "name": "Sabnzbd", "options": { "PGID": 0, "PUID": 0 @@ -78,7 +78,7 @@ "localdisks": "str?", "networkdisks": "str?" }, - "slug": "sabnzb", + "slug": "sabnzbd", "url": "https://github.com/alexbelgium/hassio-addons", "version": "test" } \ No newline at end of file diff --git a/sabnzb/icon.png b/sabnzbd/icon.png similarity index 100% rename from sabnzb/icon.png rename to sabnzbd/icon.png diff --git a/sabnzb/logo.png b/sabnzbd/logo.png similarity index 100% rename from sabnzb/logo.png rename to sabnzbd/logo.png diff --git a/sabnzb/rootfs/etc/cont-init.d/20-folders.sh b/sabnzbd/rootfs/etc/cont-init.d/20-folders.sh similarity index 97% rename from sabnzb/rootfs/etc/cont-init.d/20-folders.sh rename to sabnzbd/rootfs/etc/cont-init.d/20-folders.sh index c896b7705..5e08f2db9 100644 --- a/sabnzb/rootfs/etc/cont-init.d/20-folders.sh +++ b/sabnzbd/rootfs/etc/cont-init.d/20-folders.sh @@ -1,7 +1,7 @@ #!/usr/bin/with-contenv bashio # shellcheck shell=bash -slug=sabnzb +slug=sabnzbd if [ ! -d /config/addons_config/$slug ]; then diff --git a/sabnzb/rootfs/etc/cont-init.d/32-nginx_ingress.sh b/sabnzbd/rootfs/etc/cont-init.d/32-nginx_ingress.sh similarity index 64% rename from sabnzb/rootfs/etc/cont-init.d/32-nginx_ingress.sh rename to sabnzbd/rootfs/etc/cont-init.d/32-nginx_ingress.sh index 89bd9125b..d28f24cf8 100644 --- a/sabnzb/rootfs/etc/cont-init.d/32-nginx_ingress.sh +++ b/sabnzbd/rootfs/etc/cont-init.d/32-nginx_ingress.sh @@ -11,7 +11,7 @@ sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/servers/ingress.conf # Allows serving js -sed -i 's/// %end% -->/g' /app/sabnzb/webui/index.html -sed -i 's//g' /app/sabnzb/webui/index.html -sed -i 's/ %end% -->//g' /app/sabnzb/webui/index.html +sed -i 's/// %end% -->/g' /app/sabnzbd/webui/index.html +sed -i 's//g' /app/sabnzbd/webui/index.html +sed -i 's/ %end% -->//g' /app/sabnzbd/webui/index.html diff --git a/sabnzb/rootfs/etc/nginx/includes/mime.types b/sabnzbd/rootfs/etc/nginx/includes/mime.types similarity index 100% rename from sabnzb/rootfs/etc/nginx/includes/mime.types rename to sabnzbd/rootfs/etc/nginx/includes/mime.types diff --git a/sabnzb/rootfs/etc/nginx/includes/proxy_params.conf b/sabnzbd/rootfs/etc/nginx/includes/proxy_params.conf similarity index 100% rename from sabnzb/rootfs/etc/nginx/includes/proxy_params.conf rename to sabnzbd/rootfs/etc/nginx/includes/proxy_params.conf diff --git a/sabnzb/rootfs/etc/nginx/includes/resolver.conf b/sabnzbd/rootfs/etc/nginx/includes/resolver.conf similarity index 100% rename from sabnzb/rootfs/etc/nginx/includes/resolver.conf rename to sabnzbd/rootfs/etc/nginx/includes/resolver.conf diff --git a/sabnzb/rootfs/etc/nginx/includes/server_params.conf b/sabnzbd/rootfs/etc/nginx/includes/server_params.conf similarity index 100% rename from sabnzb/rootfs/etc/nginx/includes/server_params.conf rename to sabnzbd/rootfs/etc/nginx/includes/server_params.conf diff --git a/sabnzb/rootfs/etc/nginx/includes/ssl_params.conf b/sabnzbd/rootfs/etc/nginx/includes/ssl_params.conf similarity index 100% rename from sabnzb/rootfs/etc/nginx/includes/ssl_params.conf rename to sabnzbd/rootfs/etc/nginx/includes/ssl_params.conf diff --git a/sabnzb/rootfs/etc/nginx/includes/upstream.conf b/sabnzbd/rootfs/etc/nginx/includes/upstream.conf similarity index 100% rename from sabnzb/rootfs/etc/nginx/includes/upstream.conf rename to sabnzbd/rootfs/etc/nginx/includes/upstream.conf diff --git a/sabnzb/rootfs/etc/nginx/nginx.conf b/sabnzbd/rootfs/etc/nginx/nginx.conf similarity index 100% rename from sabnzb/rootfs/etc/nginx/nginx.conf rename to sabnzbd/rootfs/etc/nginx/nginx.conf diff --git a/sabnzb/rootfs/etc/nginx/servers/ingress.conf b/sabnzbd/rootfs/etc/nginx/servers/ingress.conf similarity index 96% rename from sabnzb/rootfs/etc/nginx/servers/ingress.conf rename to sabnzbd/rootfs/etc/nginx/servers/ingress.conf index f5a4a3bec..6d065a568 100644 --- a/sabnzb/rootfs/etc/nginx/servers/ingress.conf +++ b/sabnzbd/rootfs/etc/nginx/servers/ingress.conf @@ -5,7 +5,7 @@ server { include /etc/nginx/includes/proxy_params.conf; client_max_body_size 0; - root /app/sabnzb/webui; + root /app/sabnzbd/webui; index index.html index.htm index.php; location / { diff --git a/sabnzb/rootfs/etc/services.d/nginx/finish b/sabnzbd/rootfs/etc/services.d/nginx/finish similarity index 100% rename from sabnzb/rootfs/etc/services.d/nginx/finish rename to sabnzbd/rootfs/etc/services.d/nginx/finish diff --git a/sabnzb/rootfs/etc/services.d/nginx/run b/sabnzbd/rootfs/etc/services.d/nginx/run similarity index 100% rename from sabnzb/rootfs/etc/services.d/nginx/run rename to sabnzbd/rootfs/etc/services.d/nginx/run diff --git a/sabnzb/translations/en.yaml b/sabnzbd/translations/en.yaml similarity index 100% rename from sabnzb/translations/en.yaml rename to sabnzbd/translations/en.yaml diff --git a/sabnzb/updater.json b/sabnzbd/updater.json similarity index 69% rename from sabnzb/updater.json rename to sabnzbd/updater.json index 464bd0265..02464f201 100644 --- a/sabnzb/updater.json +++ b/sabnzbd/updater.json @@ -2,8 +2,8 @@ "github_fulltag": "true", "last_update": "21-01-2023", "repository": "alexbelgium/hassio-addons", - "slug": "sabnzb", + "slug": "sabnzbd", "source": "github", - "upstream_repo": "linuxserver/docker-sabnzb", + "upstream_repo": "linuxserver/docker-sabnzbd", "upstream_version": "v21.1-ls138" } \ No newline at end of file