From 1ce6d130e2ef480ef1943612d6edfff9efd304e3 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sat, 10 Sep 2022 17:30:08 +0200 Subject: [PATCH] Adaptation --- qbittorrent/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 5beb5025c..8195cab2b 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -45,7 +45,10 @@ RUN \ # Remove fixed folders, allows connection to webUI && sed '11,13d' /defaults/qBittorrent.conf \ && echo 'WebUI\HostHeaderValidation=false' >> /defaults/qBittorrent.conf \ - && echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf + && echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf \ + \ + # Change location of config + && for file in $(awk '/chown.*abc:abc.*\\/,/.*\/config( |$)/{print FILENAME}' /etc/services.d/*/run /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/run); do sed -i "s|/config|/config/qBittorrent|g" "$file"; done # Global LSIO modifications ARG CONFIGLOCATION="/config"