diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index feb423913..419e622da 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -126,8 +126,6 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. # 4 Entrypoint # ################ -RUN chmod +x /usr/local/sbin/* - # Add entrypoint ENV S6_STAGE2_HOOK=/ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh" @@ -135,6 +133,7 @@ RUN chmod 777 /ha_entrypoint.sh COPY rootfs/ / RUN find . -type f \( -name "*.sh" -o -name "run" \) -print -exec chmod +x {} \; +RUN chmod +x /usr/local/sbin/* ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh