Merge pull request #195 from linuxserver/v3-tidyup

This commit is contained in:
Adam
2022-10-10 22:53:18 +01:00
committed by GitHub
12 changed files with 4 additions and 10 deletions

View File

@@ -23,8 +23,6 @@ RUN \
gcc && \
echo "**** install packages ****" && \
apk add -U --update --no-cache \
bash \
curl \
icu-libs \
libstdc++ \
openssl \

View File

@@ -23,8 +23,6 @@ RUN \
gcc && \
echo "**** install packages ****" && \
apk add -U --update --no-cache \
bash \
curl \
icu-libs \
libstdc++ \
openssl \

View File

@@ -23,9 +23,6 @@ RUN \
gcc && \
echo "**** install packages ****" && \
apk add -U --update --no-cache \
bash \
curl \
gcompat \
icu-libs \
libc6-compat \
libstdc++ \

View File

@@ -4,8 +4,9 @@
mkdir -p /config/qBittorrent
# copy default config
[[ ! -e /config/qBittorrent/qBittorrent.conf ]] && \
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

View File

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

View File

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

View File

@@ -3,5 +3,5 @@
WEBUI_PORT=${WEBUI_PORT:-8080}
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 ${WEBUI_PORT}" \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"