Skip to content

Commit

Permalink
Merge pull request #39 from linuxserver/develop-ro-tweaks
Browse files Browse the repository at this point in the history
Move tmpdir, set COMPlus_EnableDiagnostics (develop)
  • Loading branch information
Roxedus authored Jul 7, 2024
2 parents 48d540e + 9a8f9c0 commit 8b3bbc2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad"

# environment settings
ARG READARR_BRANCH="develop"
ENV XDG_CONFIG_HOME="/config/xdg"
ENV XDG_CONFIG_HOME="/config/xdg" \
COMPlus_EnableDiagnostics=0 \
TMPDIR=/run/readarr-temp

RUN \
echo "**** install packages ****" && \
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad"

# environment settings
ARG READARR_BRANCH="develop"
ENV XDG_CONFIG_HOME="/config/xdg"
ENV XDG_CONFIG_HOME="/config/xdg" \
COMPlus_EnableDiagnostics=0 \
TMPDIR=/run/readarr-temp

RUN \
echo "**** install packages ****" && \
Expand Down
2 changes: 2 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ param_usage_include_ports: true
param_ports:
- { external_port: "8787", internal_port: "8787", port_desc: "The port for the Readarr web UI", }

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-readarr-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/readarr-temp

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

0 comments on commit 8b3bbc2

Please sign in to comment.