Skip to content

Commit 9db6331

Browse files
authored
Merge pull request #151 from linuxserver/develop-app
Move app to /app
2 parents b43eb60 + 82b3b8f commit 9db6331

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN \
1818
apt-get install -y \
1919
jq && \
2020
echo "**** install sonarr ****" && \
21-
mkdir -p /opt/NzbDrone && \
21+
mkdir -p /app/sonarr/bin && \
2222
if [ -z ${SONARR_VERSION+x} ]; then \
2323
SONARR_VERSION=$(curl -sX GET https://services.sonarr.tv/v1/download/${SONARR_BRANCH} \
2424
| jq -r '.version'); \
@@ -28,7 +28,7 @@ RUN \
2828
"https://download.sonarr.tv/v2/${SONARR_BRANCH}/mono/NzbDrone.${SONARR_BRANCH}.${SONARR_VERSION}.mono.tar.gz" && \
2929
tar xf \
3030
/tmp/sonarr.tar.gz -C \
31-
/opt/NzbDrone --strip-components=1 && \
31+
/app/sonarr/bin --strip-components=1 && \
3232
echo "**** cleanup ****" && \
3333
apt-get clean && \
3434
rm -rf \

Dockerfile.aarch64

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN \
1818
apt-get install -y \
1919
jq && \
2020
echo "**** install sonarr ****" && \
21-
mkdir -p /opt/NzbDrone && \
21+
mkdir -p /app/sonarr/bin && \
2222
if [ -z ${SONARR_VERSION+x} ]; then \
2323
SONARR_VERSION=$(curl -sX GET https://services.sonarr.tv/v1/download/${SONARR_BRANCH} \
2424
| jq -r '.version'); \
@@ -28,7 +28,7 @@ RUN \
2828
"https://download.sonarr.tv/v2/${SONARR_BRANCH}/mono/NzbDrone.${SONARR_BRANCH}.${SONARR_VERSION}.mono.tar.gz" && \
2929
tar xf \
3030
/tmp/sonarr.tar.gz -C \
31-
/opt/NzbDrone --strip-components=1 && \
31+
/app/sonarr/bin --strip-components=1 && \
3232
echo "**** cleanup ****" && \
3333
apt-get clean && \
3434
rm -rf \

Dockerfile.armhf

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN \
1818
apt-get install -y \
1919
jq && \
2020
echo "**** install sonarr ****" && \
21-
mkdir -p /opt/NzbDrone && \
21+
mkdir -p /app/sonarr/bin && \
2222
if [ -z ${SONARR_VERSION+x} ]; then \
2323
SONARR_VERSION=$(curl -sX GET https://services.sonarr.tv/v1/download/${SONARR_BRANCH} \
2424
| jq -r '.version'); \
@@ -28,7 +28,7 @@ RUN \
2828
"https://download.sonarr.tv/v2/${SONARR_BRANCH}/mono/NzbDrone.${SONARR_BRANCH}.${SONARR_VERSION}.mono.tar.gz" && \
2929
tar xf \
3030
/tmp/sonarr.tar.gz -C \
31-
/opt/NzbDrone --strip-components=1 && \
31+
/app/sonarr/bin --strip-components=1 && \
3232
echo "**** cleanup ****" && \
3333
apt-get clean && \
3434
rm -rf \

readme-vars.yml

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ app_setup_block: |
4848
4949
# changelog
5050
changelogs:
51+
- { date: "05.04.20:", desc: "Move app to /app." }
5152
- { date: "01.08.19:", desc: "Rebase to Linuxserver LTS mono version." }
5253
- { date: "13.06.19:", desc: "Add env variable for setting umask." }
5354
- { date: "10.05.19:", desc: "Rebase to Bionic." }

root/etc/cont-init.d/30-config

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
# permissions
88
chown -R abc:abc \
9-
/opt/NzbDrone
9+
/app/sonarr/bin

root/etc/services.d/sonarr/run

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ UMASK_SET=${UMASK_SET:-022}
44

55
umask "$UMASK_SET"
66

7-
cd /opt/NzbDrone || exit
7+
cd /app/sonarr/bin || exit
88

99
exec \
1010
s6-setuidgid abc mono --debug NzbDrone.exe \

0 commit comments

Comments
 (0)