Merge pull request #195 from linuxserver/v3-tidyup
This commit is contained in:
@@ -23,8 +23,6 @@ RUN \
|
||||
gcc && \
|
||||
echo "**** install packages ****" && \
|
||||
apk add -U --update --no-cache \
|
||||
bash \
|
||||
curl \
|
||||
icu-libs \
|
||||
libstdc++ \
|
||||
openssl \
|
||||
|
||||
@@ -23,8 +23,6 @@ RUN \
|
||||
gcc && \
|
||||
echo "**** install packages ****" && \
|
||||
apk add -U --update --no-cache \
|
||||
bash \
|
||||
curl \
|
||||
icu-libs \
|
||||
libstdc++ \
|
||||
openssl \
|
||||
|
||||
@@ -23,9 +23,6 @@ RUN \
|
||||
gcc && \
|
||||
echo "**** install packages ****" && \
|
||||
apk add -U --update --no-cache \
|
||||
bash \
|
||||
curl \
|
||||
gcompat \
|
||||
icu-libs \
|
||||
libc6-compat \
|
||||
libstdc++ \
|
||||
|
||||
@@ -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
|
||||
1
root/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/up
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/up
Normal file
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/run
|
||||
@@ -1 +0,0 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-qbittorrent/run
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user