File tree 6 files changed +9
-8
lines changed
6 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 18
18
apt-get install -y \
19
19
jq && \
20
20
echo "**** install sonarr ****" && \
21
- mkdir -p /opt/NzbDrone && \
21
+ mkdir -p /app/sonarr/bin && \
22
22
if [ -z ${SONARR_VERSION+x} ]; then \
23
23
SONARR_VERSION=$(curl -sX GET https://services.sonarr.tv/v1/download/${SONARR_BRANCH} \
24
24
| jq -r '.version' ); \
28
28
"https://download.sonarr.tv/v2/${SONARR_BRANCH}/mono/NzbDrone.${SONARR_BRANCH}.${SONARR_VERSION}.mono.tar.gz" && \
29
29
tar xf \
30
30
/tmp/sonarr.tar.gz -C \
31
- /opt/NzbDrone --strip-components=1 && \
31
+ /app/sonarr/bin --strip-components=1 && \
32
32
echo "**** cleanup ****" && \
33
33
apt-get clean && \
34
34
rm -rf \
Original file line number Diff line number Diff line change 18
18
apt-get install -y \
19
19
jq && \
20
20
echo "**** install sonarr ****" && \
21
- mkdir -p /opt/NzbDrone && \
21
+ mkdir -p /app/sonarr/bin && \
22
22
if [ -z ${SONARR_VERSION+x} ]; then \
23
23
SONARR_VERSION=$(curl -sX GET https://services.sonarr.tv/v1/download/${SONARR_BRANCH} \
24
24
| jq -r '.version'); \
28
28
"https://download.sonarr.tv/v2/${SONARR_BRANCH}/mono/NzbDrone.${SONARR_BRANCH}.${SONARR_VERSION}.mono.tar.gz" && \
29
29
tar xf \
30
30
/tmp/sonarr.tar.gz -C \
31
- /opt/NzbDrone --strip-components=1 && \
31
+ /app/sonarr/bin --strip-components=1 && \
32
32
echo "**** cleanup ****" && \
33
33
apt-get clean && \
34
34
rm -rf \
Original file line number Diff line number Diff line change 18
18
apt-get install -y \
19
19
jq && \
20
20
echo "**** install sonarr ****" && \
21
- mkdir -p /opt/NzbDrone && \
21
+ mkdir -p /app/sonarr/bin && \
22
22
if [ -z ${SONARR_VERSION+x} ]; then \
23
23
SONARR_VERSION=$(curl -sX GET https://services.sonarr.tv/v1/download/${SONARR_BRANCH} \
24
24
| jq -r '.version'); \
28
28
"https://download.sonarr.tv/v2/${SONARR_BRANCH}/mono/NzbDrone.${SONARR_BRANCH}.${SONARR_VERSION}.mono.tar.gz" && \
29
29
tar xf \
30
30
/tmp/sonarr.tar.gz -C \
31
- /opt/NzbDrone --strip-components=1 && \
31
+ /app/sonarr/bin --strip-components=1 && \
32
32
echo "**** cleanup ****" && \
33
33
apt-get clean && \
34
34
rm -rf \
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ app_setup_block: |
48
48
49
49
# changelog
50
50
changelogs :
51
+ - { date: "05.04.20:", desc: "Move app to /app." }
51
52
- { date: "01.08.19:", desc: "Rebase to Linuxserver LTS mono version." }
52
53
- { date: "13.06.19:", desc: "Add env variable for setting umask." }
53
54
- { date: "10.05.19:", desc: "Rebase to Bionic." }
Original file line number Diff line number Diff line change 6
6
7
7
# permissions
8
8
chown -R abc:abc \
9
- /opt/NzbDrone
9
+ /app/sonarr/bin
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ UMASK_SET=${UMASK_SET:-022}
4
4
5
5
umask "$UMASK_SET"
6
6
7
- cd /opt/NzbDrone || exit
7
+ cd /app/sonarr/bin || exit
8
8
9
9
exec \
10
10
s6-setuidgid abc mono --debug NzbDrone.exe \
You can’t perform that action at this time.
0 commit comments