diff --git a/ct/readarr.sh b/ct/readarr.sh deleted file mode 100644 index 4c0fd6605..000000000 --- a/ct/readarr.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env bash -_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" -source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") -# Copyright (c) 2021-2026 tteck -# Author: tteck (tteckster) -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://readarr.com/ - -APP="Readarr" -var_tags="${var_tags:-media;comic;eBook}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-1024}" -var_disk="${var_disk:-4}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_arm64="${var_arm64:-yes}" -var_unprivileged="${var_unprivileged:-1}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var/lib/readarr/ ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - apt_update_safe - $STD apt -y upgrade - msg_ok "Updated $APP LXC" - msg_ok "Updated successfully!" - exit -} - -start -build_container -description - -msg_ok "Completed successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW}Access it using the following URL:${CL}" -echo -e "${GATEWAY}${BGN}http://${IP}:8787${CL}" diff --git a/install/readarr-install.sh b/install/readarr-install.sh deleted file mode 100644 index 882d0569b..000000000 --- a/install/readarr-install.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 tteck -# Author: tteck (tteckster) -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://readarr.com/ - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt install -y sqlite3 libicu-dev -msg_ok "Installed Dependencies" - -msg_info "Installing Readarr" -mkdir -p /var/lib/readarr/ -chmod 775 /var/lib/readarr/ -cd /var/lib/readarr/ -$STD curl -fsSL "https://readarr.servarr.com/v1/update/develop/updatefile?os=linux&runtime=netcore&arch=$(arch_resolve "x64" "arm64")" -o readarr.tar.gz -$STD tar -xvzf readarr.tar.gz -mv Readarr /opt -chmod 775 /opt/Readarr -rm -rf Readarr.develop.*.tar.gz -msg_ok "Installed Readarr" - -msg_info "Creating Service" -cat </etc/systemd/system/readarr.service -[Unit] -Description=Readarr Daemon -After=syslog.target network.target -[Service] -UMask=0002 -Type=simple -ExecStart=/opt/Readarr/Readarr -nobrowser -data=/var/lib/readarr/ -TimeoutStopSec=20 -KillMode=process -Restart=on-failure -[Install] -WantedBy=multi-user.target -EOF -systemctl -q daemon-reload -systemctl enable --now -q readarr -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc