Update Dockerfile

This commit is contained in:
Alexandre
2022-09-04 17:36:03 +02:00
committed by GitHub
parent a22ec5e2b2
commit 832bc2021d

View File

@@ -104,9 +104,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
# Corrects permissions for s6 v3
RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \
if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \
if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \
mv /etc/services.d/qbittorrent/* /etc/s6-overlay/s6-rc.d/svc-qbittorrent/ && \
rmdir /etc/services.d/qbittorrent
if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi
################
# 4 Entrypoint #