File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11FROM resin/rpi-raspbian
22
3- RUN apt-get update && apt-get install wget apt-transport-https -y --force-yes
4- RUN wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add -
5- RUN echo "deb https://dev2day.de/pms/ jessie main" > /etc/apt/sources.list.d/pms.list
6- RUN apt-get update && apt-get install -t jessie plexmediaserver -y
3+ RUN apt-get update && apt-get install wget apt-transport-https -y --force-yes && \
4+ wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add - && \
5+ echo "deb https://dev2day.de/pms/ jessie main" > /etc/apt/sources.list.d/pms.list && \
6+ apt-get update && apt-get install -t jessie plexmediaserver -y
77
88EXPOSE 32400
99
@@ -13,4 +13,5 @@ VOLUME /media
1313ADD daemon.sh /root/daemon.sh
1414RUN chmod +x /root/daemon.sh
1515
16- ENTRYPOINT ["/root/daemon.sh" ]
16+ ENTRYPOINT ["bash" ]
17+ CMD ["/root/daemon.sh" ]
Original file line number Diff line number Diff line change 11#! /bin/sh
2- trap ' kill -TERM $PID' TERM INT
2+ trap ' kill -TERM $PID' TERM INT SIGTERM SIGINT
3+ rm /root/Library/Application\ Support/Plex\ Media\ Server/plexmediaserver.pid
34/usr/sbin/start_pms &
45PID=$!
56wait $PID
67wait $PID
7- rm /root/Library/Application\ Support/Plex\ Media\ Server/plexmediaserver.pid
88EXIT_STATUS=$?
You can’t perform that action at this time.
0 commit comments