Skip to content

Commit

Permalink
Merge pull request #38 from linuxserver/main-ro-tweaks
Browse files Browse the repository at this point in the history
Move tmpdir (main)
  • Loading branch information
Roxedus authored Jul 8, 2024
2 parents d96d868 + 92925bc commit 8f80f72
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 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
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

0 comments on commit 8f80f72

Please sign in to comment.