Remove qbittorrent image change script

This commit is contained in:
Christopher
2024-02-07 09:49:02 -06:00
parent 6e26c811bc
commit 7e3d17067c
2 changed files with 0 additions and 24 deletions

View File

@@ -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)"
```

View File

@@ -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