Compare commits

..

34 Commits

Author SHA1 Message Date
Adam
65621a9ba3 Merge pull request #200 from linuxserver/lsiown-master 2022-11-13 15:34:22 +00:00
TheSpad
5f0e71b743 Use lsiown for init 2022-11-12 14:23:13 +00:00
LinuxServer-CI
121cbb9462 Bot Updating Package Versions 2022-11-12 05:52:56 -06:00
LinuxServer-CI
ca5673a409 Bot Updating Templated Files 2022-11-12 12:48:12 +01:00
LinuxServer-CI
17dabb494e Bot Updating Package Versions 2022-11-06 22:29:08 -06:00
Adam
f196789a76 Merge pull request #198 from linuxserver/readme-v1 2022-10-31 14:12:47 +00:00
TheSpad
16364f2964 Update changelog and tag list 2022-10-31 13:51:29 +00:00
LinuxServer-CI
83b482ab7a Bot Updating Package Versions 2022-10-30 23:37:46 -05:00
LinuxServer-CI
a10c1b8729 Bot Updating Package Versions 2022-10-23 08:30:00 -05:00
LinuxServer-CI
74008d71f2 Bot Updating Package Versions 2022-10-19 15:43:10 +02:00
LinuxServer-CI
f063e52eb9 Bot Updating Package Versions 2022-10-17 00:16:49 -05:00
Adam
134527e4a9 Merge pull request #195 from linuxserver/v3-tidyup 2022-10-10 22:53:18 +01:00
TheSpad
bc0d17401d Remove unnecessary packages 2022-10-10 22:15:05 +01:00
TheSpad
d97b2e7d4a Make init more consistent with s6v3 standard 2022-10-10 22:14:57 +01:00
LinuxServer-CI
60df08ba86 Bot Updating Package Versions 2022-10-10 00:11:55 -05:00
LinuxServer-CI
fe250e22db Bot Updating Package Versions 2022-10-03 06:35:43 +02:00
LinuxServer-CI
3816f56755 Bot Updating Package Versions 2022-09-26 07:18:42 +02:00
LinuxServer-CI
f1eac2644f Bot Updating Package Versions 2022-09-20 11:29:07 -05:00
Adam
384f7ba365 Merge pull request #192 from linuxserver/exec-master 2022-09-20 17:25:59 +01:00
TheSpad
c828bd5ccd Exec notify 2022-09-20 16:42:11 +01:00
LinuxServer-CI
dde6f08046 Bot Updating Package Versions 2022-09-19 00:19:09 -05:00
LinuxServer-CI
56ac0242f7 Bot Updating Templated Files 2022-09-19 07:15:49 +02:00
LinuxServer-CI
18d310d3c0 Bot Updating Package Versions 2022-09-12 07:17:07 +02:00
LinuxServer-CI
b0261130d1 Bot Updating Package Versions 2022-09-05 07:10:23 +02:00
LinuxServer-CI
38ce6e4eaf Bot Updating Package Versions 2022-08-31 15:52:36 -05:00
LinuxServer-CI
6483e582e8 Bot Updating Package Versions 2022-08-31 12:45:00 -05:00
LinuxServer-CI
61d98c0113 Bot Updating Templated Files 2022-08-31 19:42:20 +02:00
Adam
a8abbc12e2 v3ify qbittorrent image (#184) 2022-08-31 18:41:04 +01:00
LinuxServer-CI
97d4b22608 Bot Updating Package Versions 2022-08-29 07:11:28 +02:00
LinuxServer-CI
871008c306 Bot Updating Package Versions 2022-08-12 12:19:44 +02:00
LinuxServer-CI
6b27825bd7 Bot Updating Templated Files 2022-08-12 05:16:39 -05:00
Adam
a3ac4ce7a9 Merge pull request #186 from linuxserver/unrar617-master 2022-08-12 11:15:05 +01:00
TheSpad
beeb9de294 Bump unrar to 6.1.7 2022-08-12 10:35:36 +01:00
LinuxServer-CI
06bec27898 Bot Updating Package Versions 2022-08-07 23:21:33 -05:00
22 changed files with 117 additions and 129 deletions

View File

@@ -18,7 +18,7 @@ jobs:
fi fi
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_QBITTORRENT_MASTER\". ****" echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_QBITTORRENT_MASTER\". ****"
echo "**** Retrieving external version ****" echo "**** Retrieving external version ****"
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:'"qbittorrent-nox"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') && awk '/^P:'"qbittorrent-nox"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://')
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
echo "**** Can't retrieve external version, exiting ****" echo "**** Can't retrieve external version, exiting ****"
@@ -49,8 +49,12 @@ jobs:
| jq -r '.config.digest') | jq -r '.config.digest')
image_info=$(curl -sL \ image_info=$(curl -sL \
--header "Authorization: Bearer ${token}" \ --header "Authorization: Bearer ${token}" \
"https://ghcr.io/v2/${image}/blobs/${digest}" \ "https://ghcr.io/v2/${image}/blobs/${digest}")
| jq -r '.container_config') if [[ $(echo $image_info | jq -r '.container_config') == "null" ]]; then
image_info=$(echo $image_info | jq -r '.config')
else
image_info=$(echo $image_info | jq -r '.container_config')
fi
IMAGE_RELEASE=$(echo ${image_info} | jq -r '.Labels.build_version' | awk '{print $3}') IMAGE_RELEASE=$(echo ${image_info} | jq -r '.Labels.build_version' | awk '{print $3}')
IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-ls' '{print $1}') IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-ls' '{print $1}')
if [ -z "${IMAGE_VERSION}" ]; then if [ -z "${IMAGE_VERSION}" ]; then

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:3.16 FROM ghcr.io/linuxserver/baseimage-alpine:edge
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@@ -9,7 +9,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad" LABEL maintainer="thespad"
# environment settings # environment settings
ARG UNRAR_VERSION=6.1.4 ARG UNRAR_VERSION=6.1.7
ENV HOME="/config" \ ENV HOME="/config" \
XDG_CONFIG_HOME="/config" \ XDG_CONFIG_HOME="/config" \
XDG_DATA_HOME="/config" XDG_DATA_HOME="/config"
@@ -23,8 +23,6 @@ RUN \
gcc && \ gcc && \
echo "**** install packages ****" && \ echo "**** install packages ****" && \
apk add -U --update --no-cache \ apk add -U --update --no-cache \
bash \
curl \
icu-libs \ icu-libs \
libstdc++ \ libstdc++ \
openssl \ openssl \
@@ -42,7 +40,7 @@ RUN \
make && \ make && \
install -v -m755 unrar /usr/bin && \ install -v -m755 unrar /usr/bin && \
if [ -z ${QBITTORRENT_VERSION+x} ]; then \ if [ -z ${QBITTORRENT_VERSION+x} ]; then \
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \ && awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \ fi && \
apk add -U --upgrade --no-cache \ apk add -U --upgrade --no-cache \

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.16 FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-edge
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@@ -9,7 +9,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad" LABEL maintainer="thespad"
# environment settings # environment settings
ARG UNRAR_VERSION=6.1.4 ARG UNRAR_VERSION=6.1.7
ENV HOME="/config" \ ENV HOME="/config" \
XDG_CONFIG_HOME="/config" \ XDG_CONFIG_HOME="/config" \
XDG_DATA_HOME="/config" XDG_DATA_HOME="/config"
@@ -23,8 +23,6 @@ RUN \
gcc && \ gcc && \
echo "**** install packages ****" && \ echo "**** install packages ****" && \
apk add -U --update --no-cache \ apk add -U --update --no-cache \
bash \
curl \
icu-libs \ icu-libs \
libstdc++ \ libstdc++ \
openssl \ openssl \
@@ -42,7 +40,7 @@ RUN \
make && \ make && \
install -v -m755 unrar /usr/bin && \ install -v -m755 unrar /usr/bin && \
if [ -z ${QBITTORRENT_VERSION+x} ]; then \ if [ -z ${QBITTORRENT_VERSION+x} ]; then \
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \ && awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \ fi && \
apk add -U --upgrade --no-cache \ apk add -U --upgrade --no-cache \

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.16 FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-edge
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
@@ -9,7 +9,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad" LABEL maintainer="thespad"
# environment settings # environment settings
ARG UNRAR_VERSION=6.1.4 ARG UNRAR_VERSION=6.1.7
ENV HOME="/config" \ ENV HOME="/config" \
XDG_CONFIG_HOME="/config" \ XDG_CONFIG_HOME="/config" \
XDG_DATA_HOME="/config" XDG_DATA_HOME="/config"
@@ -23,9 +23,6 @@ RUN \
gcc && \ gcc && \
echo "**** install packages ****" && \ echo "**** install packages ****" && \
apk add -U --update --no-cache \ apk add -U --update --no-cache \
bash \
curl \
gcompat \
icu-libs \ icu-libs \
libc6-compat \ libc6-compat \
libstdc++ \ libstdc++ \
@@ -44,7 +41,7 @@ RUN \
make && \ make && \
install -v -m755 unrar /usr/bin && \ install -v -m755 unrar /usr/bin && \
if [ -z ${QBITTORRENT_VERSION+x} ]; then \ if [ -z ${QBITTORRENT_VERSION+x} ]; then \
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \ QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \ && awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \ fi && \
apk add -U --upgrade --no-cache \ apk add -U --upgrade --no-cache \

6
Jenkinsfile vendored
View File

@@ -25,8 +25,8 @@ pipeline {
DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent' DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent'
PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent' PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent'
DIST_IMAGE = 'alpine' DIST_IMAGE = 'alpine'
DIST_TAG = '3.16' DIST_TAG = 'edge'
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.16/community/' DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/edge/community/'
DIST_REPO_PACKAGES = 'qbittorrent-nox' DIST_REPO_PACKAGES = 'qbittorrent-nox'
MULTIARCH='true' MULTIARCH='true'
CI='true' CI='true'
@@ -714,7 +714,7 @@ pipeline {
-e DO_REGION="ams3" \ -e DO_REGION="ams3" \
-e DO_BUCKET="lsio-ci" \ -e DO_BUCKET="lsio-ci" \
-t ghcr.io/linuxserver/ci:latest \ -t ghcr.io/linuxserver/ci:latest \
python /ci/ci.py''' python3 test_build.py'''
} }
} }
} }

View File

@@ -65,6 +65,7 @@ This image provides various versions that are available via tags. Please read th
| Tag | Available | Description | | Tag | Available | Description |
| :----: | :----: |--- | | :----: | :----: |--- |
| latest | ✅ | Stable qbittorrent releases | | latest | ✅ | Stable qbittorrent releases |
| libtorrentv1 | ✅ | Static qbittorrent builds using libtorrent v1 |
## Application Setup ## Application Setup
@@ -72,7 +73,6 @@ The webui is at `<your-ip>:8080` and the default username/password is `admin/adm
Change username/password via the webui in the webui section of settings. Change username/password via the webui in the webui section of settings.
### WEBUI_PORT variable ### WEBUI_PORT variable
Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port. Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.
@@ -85,7 +85,7 @@ If you have no webui , check the file /config/qBittorrent/qBittorrent.conf
edit or add the following lines edit or add the following lines
``` ```text
WebUI\Address=* WebUI\Address=*
WebUI\ServerDomains=* WebUI\ServerDomains=*
@@ -264,6 +264,9 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **31.10.22:** - Add libtorrentv1 branch.
* **31.08.22:** - Rebase to Alpine Edge again to follow latest releases.
* **12.08.22:** - Bump unrar to 6.1.7.
* **16.06.22:** - Rebase to Alpine 3.16 from edge. * **16.06.22:** - Rebase to Alpine 3.16 from edge.
* **25.05.22:** - Fetch qbitorrent-cli from upstream repo. * **25.05.22:** - Fetch qbitorrent-cli from upstream repo.
* **02.03.22:** - Add unrar, 7zip, and qbitorrent-cli. * **02.03.22:** - Add unrar, 7zip, and qbitorrent-cli.

View File

@@ -15,8 +15,8 @@ repo_vars:
- DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent' - DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent'
- PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent' - PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent'
- DIST_IMAGE = 'alpine' - DIST_IMAGE = 'alpine'
- DIST_TAG = '3.16' - DIST_TAG = 'edge'
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.16/community/' - DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/edge/community/'
- DIST_REPO_PACKAGES = 'qbittorrent-nox' - DIST_REPO_PACKAGES = 'qbittorrent-nox'
- MULTIARCH='true' - MULTIARCH='true'
- CI='true' - CI='true'

View File

@@ -1,78 +1,64 @@
alpine-baselayout-3.2.0-r22 alpine-baselayout-3.4.0-r0
alpine-baselayout-data-3.2.0-r22 alpine-baselayout-data-3.4.0-r0
alpine-keys-2.4-r1 alpine-keys-2.4-r1
apk-tools-2.12.9-r3 apk-tools-2.12.10-r1
bash-5.1.16-r2 bash-5.2.2-r1
brotli-libs-1.0.9-r6 brotli-libs-1.0.9-r9
busybox-1.35.0-r16 busybox-1.35.0-r27
ca-certificates-20220614-r0 busybox-binsh-1.35.0-r27
ca-certificates-bundle-20220614-r0 ca-certificates-20220614-r2
ca-certificates-bundle-20220614-r2
coreutils-9.1-r0 coreutils-9.1-r0
curl-7.83.1-r2 curl-7.86.0-r1
dbus-libs-1.14.0-r1 dbus-libs-1.14.4-r0
double-conversion-3.1.5-r0 double-conversion-3.2.1-r0
expat-2.4.8-r0
file-5.41-r0
gdbm-1.23-r0 gdbm-1.23-r0
glib-2.72.1-r0 glib-2.74.1-r2
gmp-6.2.1-r2 icu-data-en-72.1-r1
icu-data-en-71.1-r2 icu-libs-72.1-r1
icu-libs-71.1-r2 jq-1.6-r2
libacl-2.3.1-r0 libacl-2.3.1-r1
libattr-2.5.1-r1 libattr-2.5.1-r1
libb2-0.98.1-r2 libb2-0.98.1-r2
libblkid-2.38-r1 libblkid-2.38.1-r0
libbz2-1.0.8-r1 libbz2-1.0.8-r3
libc-utils-0.7.2-r3 libc-utils-0.7.2-r3
libcrypto1.1-1.1.1q-r0 libcrypto3-3.0.7-r0
libcurl-7.83.1-r2 libcurl-7.86.0-r1
libffi-3.4.2-r1 libexpat-2.5.0-r0
libgcc-11.2.1_git20220219-r2 libffi-3.4.4-r0
libgomp-11.2.1_git20220219-r2 libgcc-12.2.1_git20220924-r4
libice-1.0.10-r0 libgomp-12.2.1_git20220924-r4
libintl-0.21-r2 libintl-0.21.1-r1
libmagic-5.41-r0 libmount-2.38.1-r0
libmount-2.38-r1
libpcre2-16-10.40-r0 libpcre2-16-10.40-r0
libproc-3.3.17-r1 libproc-3.3.17-r2
libsm-1.2.3-r0 libssl3-3.0.7-r0
libssl1.1-1.1.1q-r0 libstdc++-12.2.1_git20220924-r4
libstdc++-11.2.1_git20220219-r2 libtorrent-rasterbar-2.0.8-r0
libtorrent-rasterbar-2.0.6-r1 linux-pam-1.5.2-r1
libuuid-2.38-r1
libx11-1.8-r0
libxau-1.0.9-r0
libxcb-1.15-r0
libxdmcp-1.1.3-r0
libxext-1.3.4-r0
libxmu-1.1.3-r0
libxt-1.2.1-r0
linux-pam-1.5.2-r0
mpdecimal-2.5.1-r1 mpdecimal-2.5.1-r1
musl-1.2.3-r0 musl-1.2.3-r4
musl-utils-1.2.3-r0 musl-utils-1.2.3-r2
ncurses-libs-6.3_p20220521-r0 ncurses-libs-6.3_p20221029-r0
ncurses-terminfo-base-6.3_p20220521-r0 ncurses-terminfo-base-6.3_p20221029-r0
nghttp2-libs-1.47.0-r0 nghttp2-libs-1.50.0-r0
openssl-1.1.1q-r0 oniguruma-6.9.8-r0
p7zip-17.04-r2 openssl-3.0.7-r0
pcre-8.45-r2 p7zip-17.04-r3
procps-3.3.17-r1 pcre2-10.40-r0
python3-3.10.5-r0 procps-3.3.17-r2
qbittorrent-nox-4.4.3.1-r1 python3-3.10.8-r3
qt6-qtbase-6.3.0-r1 qbittorrent-nox-4.4.5-r3
readline-8.1.2-r0 qt6-qtbase-6.4.0-r1
scanelf-1.3.4-r0 readline-8.2.0-r0
scanelf-1.3.5-r1
shadow-4.10-r3 shadow-4.10-r3
skalibs-2.11.2.0-r0 skalibs-2.12.0.1-r0
sqlite-libs-3.38.5-r0 sqlite-libs-3.39.4-r0
ssl_client-1.35.0-r16 ssl_client-1.35.0-r27
tzdata-2022a-r0 tzdata-2022f-r1
utmps-libs-0.1.2.0-r0 utmps-libs-0.1.2.0-r1
xdg-utils-1.1.3-r3 xz-5.2.7-r0
xprop-1.2.5-r0 xz-libs-5.2.7-r0
xset-1.2.4-r0 zlib-1.2.13-r0
xz-5.2.5-r1
xz-libs-5.2.5-r1
zlib-1.2.12-r1
zstd-libs-1.5.2-r1

View File

@@ -17,6 +17,7 @@ available_architectures:
development_versions: true development_versions: true
development_versions_items: development_versions_items:
- { tag: "latest", desc: "Stable qbittorrent releases" } - { tag: "latest", desc: "Stable qbittorrent releases" }
- { tag: "libtorrentv1", desc: "Static qbittorrent builds using libtorrent v1" }
# container parameters # container parameters
common_param_env_vars_enabled: true common_param_env_vars_enabled: true
@@ -46,7 +47,6 @@ app_setup_block: |
Change username/password via the webui in the webui section of settings. Change username/password via the webui in the webui section of settings.
### WEBUI_PORT variable ### WEBUI_PORT variable
Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port. Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.
@@ -59,7 +59,7 @@ app_setup_block: |
edit or add the following lines edit or add the following lines
``` ```text
WebUI\Address=* WebUI\Address=*
WebUI\ServerDomains=* WebUI\ServerDomains=*
@@ -69,6 +69,9 @@ app_setup_block: |
# changelog # changelog
changelogs: changelogs:
- { date: "31.10.22:", desc: "Add libtorrentv1 branch." }
- { date: "31.08.22:", desc: "Rebase to Alpine Edge again to follow latest releases." }
- { date: "12.08.22:", desc: "Bump unrar to 6.1.7." }
- { date: "16.06.22:", desc: "Rebase to Alpine 3.16 from edge." } - { date: "16.06.22:", desc: "Rebase to Alpine 3.16 from edge." }
- { date: "25.05.22:", desc: "Fetch qbitorrent-cli from upstream repo." } - { date: "25.05.22:", desc: "Fetch qbitorrent-cli from upstream repo." }
- { date: "02.03.22:", desc: "Add unrar, 7zip, and qbitorrent-cli." } - { date: "02.03.22:", desc: "Add unrar, 7zip, and qbitorrent-cli." }

View File

@@ -1,26 +0,0 @@
#!/usr/bin/with-contenv bash
# make our folder
mkdir -p /config/qBittorrent
# copy config
[[ ! -e /config/qBittorrent/qBittorrent.conf ]] && \
cp /defaults/qBittorrent.conf /config/qBittorrent/qBittorrent.conf
# v4.3.3 BT_backup migration
[[ -d /config/data/qBittorrent/BT_backup/ ]] && \
mv /config/qBittorrent/BT_backup/ /config/qBittorrent/BT_backup.bak/ && \
mkdir /config/qBittorrent/BT_backup/ && \
cp -a /config/data/qBittorrent/BT_backup/. /config/qBittorrent/BT_backup/ && \
mv /config/data/qBittorrent/BT_backup/ /config/data/qBittorrent/BT_backup.old/
# chown download directory if currently not set to abc
if [[ -d /downloads ]]; then
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
chown -R abc:abc /downloads
fi
fi
# permissions
chown -R abc:abc \
/config

View File

@@ -0,0 +1,20 @@
#!/usr/bin/with-contenv bash
# make our folder
mkdir -p /config/qBittorrent
# copy default config
if [[ ! -f /config/qBittorrent/qBittorrent.conf ]]; then
cp /defaults/qBittorrent.conf /config/qBittorrent/qBittorrent.conf
fi
# chown download directory if currently not set to abc
if [[ -d /downloads ]]; then
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
lsiown -R abc:abc /downloads
fi
fi
# permissions
lsiown -R abc:abc \
/config

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/run

View File

@@ -0,0 +1 @@
3

View File

@@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bash
WEBUI_PORT=${WEBUI_PORT:-8080}
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"

View File

@@ -0,0 +1 @@
longrun

View File

@@ -1,6 +0,0 @@
#!/usr/bin/with-contenv bash
WEBUI_PORT=${WEBUI_PORT:-8080}
exec \
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"