Skip to content

Commit 55e1964

Browse files
committed
save up
1 parent 3740cdb commit 55e1964

6 files changed

Lines changed: 1 addition & 12 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/config/Library/Application Support"
1010
PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \
1111
PLEX_MEDIA_SERVER_INFO_DEVICE=docker \
1212
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \
13+
PLEX_MEDIA_SERVER_USER=abc \
1314
LD_LIBRARY_PATH="/usr/lib/plexmediaserver:$LD_LIBRARY_PATH"
1415

1516
# install packages

root/etc/cont-init.d/40-chown-files

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ if [ ! "$(stat -c %u /config/Library)" = "$PUID" ]; then
1414
chown abc:abc -R \
1515
/config/Library
1616
fi
17-

root/etc/cont-init.d/50-plex-update

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/usr/bin/with-contenv bash
22

3-
# copy config on first run, regardless of update status
4-
[[ ! -e /etc/default/plexmediaserver ]] && \
5-
cp /defaults/plexmediaserver /etc/default/plexmediaserver
6-
73
# test if plex is installed and try re-pulling latest if not
84
if (dpkg --get-selections plexmediaserver | grep -wq "install"); then
95
:
@@ -117,6 +113,3 @@ else
117113
dpkg -i --force-confold /tmp/plexmediaserver_"${REMOTE_VERSION}"_amd64.deb
118114
rm -f /tmp/plexmediaserver_*.deb
119115
fi
120-
121-
# recopy config file
122-
cp /defaults/plexmediaserver /etc/default/plexmediaserver

root/etc/services.d/avahi/run

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ done
66

77
echo "Starting Avahi daemon"
88
exec avahi-daemon --no-chroot
9-

root/etc/services.d/dbus/run

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22

33
echo "Starting dbus-daemon"
44
exec dbus-daemon --system --nofork
5-

root/etc/services.d/plex/run

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ echo "Starting Plex Media Server."
44
exec \
55
s6-setuidgid abc /bin/bash -c \
66
'/usr/lib/plexmediaserver/Plex\ Media\ Server'
7-
8-

0 commit comments

Comments
 (0)