Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move tmpdir (main) #38

Merged
merged 2 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 2 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ param_usage_include_vols: true
param_volumes:
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files" }

readonly_supported: true

# application setup block
app_setup_block_enabled: true
app_setup_block: |
Expand Down
5 changes: 4 additions & 1 deletion 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

mkdir -p /run/overseerr-temp

# permissions
lsiown -R abc:abc \
/config
/config \
/run/overseerr-temp