From eb1482af54d835e3351974aec72826ca95e08acc Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 3 Jul 2024 19:07:46 +0100 Subject: [PATCH] Move tmpdir, set COMPlus_EnableDiagnostics --- Dockerfile | 4 +++- Dockerfile.aarch64 | 4 +++- readme-vars.yml | 2 ++ root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/run | 7 +++++-- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d2f78cf..9efbf05 100755 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad" # environment settings ARG PROWLARR_BRANCH="develop" -ENV XDG_CONFIG_HOME="/config/xdg" +ENV XDG_CONFIG_HOME="/config/xdg" \ + COMPlus_EnableDiagnostics=0 \ + TMPDIR=/run/prowlarr-temp RUN \ echo "**** install packages ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index a7500d7..038ed15 100755 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad" # environment settings ARG PROWLARR_BRANCH="develop" -ENV XDG_CONFIG_HOME="/config/xdg" +ENV XDG_CONFIG_HOME="/config/xdg" \ + COMPlus_EnableDiagnostics=0 \ + TMPDIR=/run/prowlarr-temp RUN \ echo "**** install packages ****" && \ diff --git a/readme-vars.yml b/readme-vars.yml index fdbc729..a7d3ba8 100755 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -29,6 +29,8 @@ param_usage_include_ports: true param_ports: - { external_port: "9696", internal_port: "9696", port_desc: "The port for the Prowlarr web UI" } +readonly_supported: true + # application setup block app_setup_block_enabled: true app_setup_block: | diff --git a/root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/run b/root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/run index ae4017a..b8276e3 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/run @@ -1,6 +1,9 @@ #!/usr/bin/with-contenv bash # shellcheck shell=bash -# permissions +mkdir -p /run/prowlarr-temp + +# permissions lsiown -R abc:abc \ - /config + /config \ + /run/prowlarr-temp