From dc44be7af07380d433ca51b069c6937a9f797487 Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 3 Jul 2024 19:41:58 +0100 Subject: [PATCH] Move tmpdir, set COMPlus_EnableDiagnostics --- Dockerfile | 8 +++++--- Dockerfile.aarch64 | 8 +++++--- readme-vars.yml | 2 ++ root/etc/s6-overlay/s6-rc.d/init-sonarr-config/run | 7 +++++-- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index eefb71d6..8789548b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,11 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA LABEL maintainer="thespad" # set environment variables -ENV XDG_CONFIG_HOME="/config/xdg" -ENV SONARR_CHANNEL="v4-stable" -ENV SONARR_BRANCH="main" +ENV XDG_CONFIG_HOME="/config/xdg" \ + SONARR_CHANNEL="v4-stable" \ + SONARR_BRANCH="main" \ + COMPlus_EnableDiagnostics=0 \ + TMPDIR=/run/sonarr-temp RUN \ echo "**** install packages ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 2866db56..7b26c5bc 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -10,9 +10,11 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA LABEL maintainer="thespad" # set environment variables -ENV XDG_CONFIG_HOME="/config/xdg" -ENV SONARR_CHANNEL="v4-stable" -ENV SONARR_BRANCH="main" +ENV XDG_CONFIG_HOME="/config/xdg" \ + SONARR_CHANNEL="v4-stable" \ + SONARR_BRANCH="main" \ + COMPlus_EnableDiagnostics=0 \ + TMPDIR=/run/sonarr-temp RUN \ echo "**** install packages ****" && \ diff --git a/readme-vars.yml b/readme-vars.yml index 5d5d3ef6..a69593e3 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -34,6 +34,8 @@ param_usage_include_ports: true param_ports: - { external_port: "8989", internal_port: "8989", port_desc: "The port for the Sonarr web interface" } +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-sonarr-config/run b/root/etc/s6-overlay/s6-rc.d/init-sonarr-config/run index ae4017a0..1272a88d 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-sonarr-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-sonarr-config/run @@ -1,6 +1,9 @@ #!/usr/bin/with-contenv bash # shellcheck shell=bash -# permissions +mkdir -p /run/sonarr-temp + +# permissions lsiown -R abc:abc \ - /config + /config \ + /run/sonarr-temp