add custom qbittorrent upgrade to upgrade script
This commit is contained in:
1 parent
d29489f498
commit
84d5223a95
1 file changed
+10
@@ -231,6 +231,16 @@ if command -v docker >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f /docker/qbittorrent/docker-compose.yml ]; then
|
||||||
|
cd /docker/qbittorrent || exit 1
|
||||||
|
|
||||||
|
if docker compose config >/dev/null 2>&1; then
|
||||||
|
echo "Updating custom qBittorrent image..."
|
||||||
|
docker compose build --pull
|
||||||
|
docker compose up -d
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Mail Report
|
# Mail Report
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|||||||
Reference in new issue
Block a user