Skip to content

Commit

Permalink
Move tmpdir
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Jul 3, 2024
1 parent c9e1fe0 commit c7771d5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ****" && \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -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 ****" && \
Expand Down
3 changes: 1 addition & 2 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/init-overseerr-config/run
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c7771d5

Please sign in to comment.