qbittorent
> more updates
This commit is contained in:
		| @@ -13,3 +13,31 @@ This script goes in the `/custom_script` volume folder for **qbittorrent** conta | |||||||
| - **python3:** This is the dependant programming language needed. | - **python3:** This is the dependant programming language needed. | ||||||
| - **pip3:** Package install for python.  | - **pip3:** Package install for python.  | ||||||
| - **qbittorrent-api:** Client API used to interact with qbittorrent over web or CLI. | - **qbittorrent-api:** Client API used to interact with qbittorrent over web or CLI. | ||||||
|  |  | ||||||
|  | linuxserver.io uses [Alpine OS](https://www.alpinelinux.org/releases) to build all images. Alpine OS is a lighter version of linux compared to Linux Mint or Ubuntu. Because of this **qbittorrent-api** is not in the main repo for the OS. As of writing this doc its only edge branch repo. When this script is in the `/custom_script` folder is will get executed every time **qbittorrent** container is started ensuring that it will always be ready when qbittorrent is running. | ||||||
|  |  | ||||||
|  | The first part of the script links to the **edge repo** so we can download and install it. | ||||||
|  | ``` shell | ||||||
|  | # Add the "edge" testing repository | ||||||
|  | echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | This will check for updates to the Alpine repo | ||||||
|  | ``` shell | ||||||
|  | # Update the package list | ||||||
|  | apk update | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | This will install **Python3** first then install a version of pip3 for Alpine called **py3-pip** | ||||||
|  | ``` shell | ||||||
|  | # Install Python and pip | ||||||
|  | apk add python3 py3-pip | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | The last part of the script will install Alpines version of **qbittorrent-api** | ||||||
|  | ``` shell | ||||||
|  | # Install qbittorrent-api | ||||||
|  | apk add py3-qbittorrent-api | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | > `echo` will print out to the logs and the terminal. This way if for whatever reason the script is not working you can search the logs to troubleshoot the issue. | ||||||
		Reference in New Issue
	
	Block a user