Revert "Merge branch 'preview' into pipeline-preview"

This reverts commit 3bf3c96e51, reversing
changes made to 4acbf9a8c7.
This commit is contained in:
aptalca
2019-01-28 17:58:33 -05:00
parent 3bf3c96e51
commit ab1af64019
3 changed files with 7 additions and 22 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ ARG SONARR_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs"
# environment settings
# set environment variables
ARG DEBIAN_FRONTEND="noninteractive"
ENV XDG_CONFIG_HOME="/config/xdg"
ENV SONARR_BRANCH="phantom-develop"
@@ -41,4 +41,4 @@ COPY root/ /
# ports and volumes
EXPOSE 8989
VOLUME /config
VOLUME /config /downloads /tv
+3 -18
View File
@@ -1,24 +1,9 @@
#!/usr/bin/with-contenv bash
# cleanup any existing install
[[ -d /opt/sonarr ]] && \
rm -rf /opt/sonarr
mkdir -p /opt/sonarr
# (re)install preview version of sonarr
curl -o \
/tmp/sonarr.tar.gz -L \
"http://services.sonarr.tv/v1/download/phantom/latest?os=linux&version=3"
tar xf \
/tmp/sonarr.tar.gz -C \
/opt/sonarr --strip-components=1
rm \
/tmp/*.tar.gz
# cleanup pid if it exists
[[ -e /config/sonarr.pid ]] && \
rm -rf /config/sonarr.pid
[[ -e /config/nzbdrone.pid ]] && \
rm -rf /config/nzbdrone.pid
# permissions
chown -R abc:abc \
/opt/sonarr
/opt/NzbDrone
+2 -2
View File
@@ -2,8 +2,8 @@
umask 022
cd /opt/sonarr || exit
cd /opt/NzbDrone || exit
exec \
s6-setuidgid abc mono --debug Sonarr.exe \
s6-setuidgid abc mono --debug NzbDrone.exe \
-nobrowser -data=/config