File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- FROM resin /rpi-raspbian
1+ FROM sdhibit /rpi-raspbian
22
33RUN apt-get update && apt-get install wget apt-transport-https -y --force-yes && \
44 wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add - && \
55 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
6+ apt-get update && apt-get install -t jessie plexmediaserver -y && \
7+ apt-get autoremove && apt-get clean
78
89EXPOSE 32400
910
@@ -13,5 +14,4 @@ VOLUME /media
1314ADD daemon.sh /root/daemon.sh
1415RUN chmod +x /root/daemon.sh
1516
16- ENTRYPOINT ["bash" ]
1717CMD ["/root/daemon.sh" ]
Original file line number Diff line number Diff line change 11#! /bin/sh
2- trap ' kill -TERM $PID' TERM INT SIGTERM SIGINT
3- rm /root/Library/Application\ Support/Plex\ Media\ Server/plexmediaserver.pid
2+ trap ' kill -TERM $PID' TERM INT
43/usr/sbin/start_pms &
54PID=$!
65wait $PID
76wait $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