From 7e3d17067c54c4555aba3cb4efe79d80b962c799 Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 7 Feb 2024 09:49:02 -0600 Subject: [PATCH] Remove qbittorrent image change script --- change-qbittorrent-image-in-casaos/README.md | 5 ----- change-qbittorrent-image-in-casaos/run.sh | 19 ------------------- 2 files changed, 24 deletions(-) delete mode 100644 change-qbittorrent-image-in-casaos/README.md delete mode 100644 change-qbittorrent-image-in-casaos/run.sh diff --git a/change-qbittorrent-image-in-casaos/README.md b/change-qbittorrent-image-in-casaos/README.md deleted file mode 100644 index d1285de..0000000 --- a/change-qbittorrent-image-in-casaos/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Run command - -```bash -bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/change-qbittorrent-image-in-casaos/run.sh)" -``` diff --git a/change-qbittorrent-image-in-casaos/run.sh b/change-qbittorrent-image-in-casaos/run.sh deleted file mode 100644 index 8e2eeab..0000000 --- a/change-qbittorrent-image-in-casaos/run.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# Path to the docker-compose.yml file -COMPOSE_FILE="/var/lib/casaos/apps/qbittorrent/docker-compose.yml" - -# Update the docker-compose.yml file -sed -i 's/hotio\/qbittorrent:release-4.6.1/hotio\/qbittorrent:release-4.6.2/' "$COMPOSE_FILE" - -# Apply changes using casaos-cli -casaos-cli app-management apply "qbittorrent" --file="$COMPOSE_FILE" - -# Wait for the container to reload -echo "Waiting for qBittorrent to restart..." -sleep 10 # Adjust the sleep time if needed - -# Extract and echo required information from Docker logs -docker logs qbittorrent 2>&1 | grep -A 5 "******** Information ********" | while read -r line; do - echo "$line" -done