From c7771d599f70be1fbcaa18f2f6e1d516ac811159 Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 3 Jul 2024 18:02:17 +0100 Subject: [PATCH] Move tmpdir --- Dockerfile | 3 ++- Dockerfile.aarch64 | 3 ++- readme-vars.yml | 3 +-- root/etc/s6-overlay/s6-rc.d/init-overseerr-config/run | 7 +++++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f4d48d..963ed78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,8 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA LABEL maintainer="nemchik" # set environment variables -ENV HOME="/config" +ENV HOME="/config" \ + TMPDIR=/run/overseerr-temp RUN \ echo "**** install build packages ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index bbab4f8..5c79e7e 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -10,7 +10,8 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA LABEL maintainer="nemchik" # set environment variables -ENV HOME="/config" +ENV HOME="/config" \ + TMPDIR=/run/overseerr-temp RUN \ echo "**** install build packages ****" && \ diff --git a/readme-vars.yml b/readme-vars.yml index 9205b16..fb222d3 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -36,8 +36,7 @@ param_usage_include_vols: true param_volumes: - { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files" } -# optional parameters -opt_param_usage_include_vols: false +readonly_supported: true # application setup block app_setup_block_enabled: true diff --git a/root/etc/s6-overlay/s6-rc.d/init-overseerr-config/run b/root/etc/s6-overlay/s6-rc.d/init-overseerr-config/run index efea851..9a9bbe3 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-overseerr-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-overseerr-config/run @@ -1,6 +1,9 @@ #!/usr/bin/with-contenv bash # shellcheck shell=bash -# permissions +mkdir -p /run/overseerr-temp + +# permissions lsiown -R abc:abc \ - /config + /config \ + /run/overseerr-temp