Skip to content

Commit

Permalink
Move tmpdir, set COMPlus_EnableDiagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Jul 3, 2024
1 parent 179223e commit dc44be7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad"

# set environment variables
ENV XDG_CONFIG_HOME="/config/xdg"
ENV SONARR_CHANNEL="v4-stable"
ENV SONARR_BRANCH="main"
ENV XDG_CONFIG_HOME="/config/xdg" \
SONARR_CHANNEL="v4-stable" \
SONARR_BRANCH="main" \
COMPlus_EnableDiagnostics=0 \
TMPDIR=/run/sonarr-temp

RUN \
echo "**** install packages ****" && \
Expand Down
8 changes: 5 additions & 3 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad"

# set environment variables
ENV XDG_CONFIG_HOME="/config/xdg"
ENV SONARR_CHANNEL="v4-stable"
ENV SONARR_BRANCH="main"
ENV XDG_CONFIG_HOME="/config/xdg" \
SONARR_CHANNEL="v4-stable" \
SONARR_BRANCH="main" \
COMPlus_EnableDiagnostics=0 \
TMPDIR=/run/sonarr-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 @@ -34,6 +34,8 @@ param_usage_include_ports: true
param_ports:
- { external_port: "8989", internal_port: "8989", port_desc: "The port for the Sonarr web interface" }

readonly_supported: true

# application setup block
app_setup_block_enabled: true
app_setup_block: |
Expand Down
7 changes: 5 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/init-sonarr-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/sonarr-temp

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

0 comments on commit dc44be7

Please sign in to comment.