diff --git a/Dockerfile b/Dockerfile index bf0cb02..3ab9e1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,7 @@ PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/config/Library/Application Support" PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \ PLEX_MEDIA_SERVER_INFO_DEVICE=docker \ PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \ -PLEX_MEDIA_SERVER_USER=abc \ -LD_LIBRARY_PATH="/usr/lib/plexmediaserver:$LD_LIBRARY_PATH" +PLEX_MEDIA_SERVER_USER=abc # install packages RUN \ diff --git a/root/etc/services.d/plex/run b/root/etc/services.d/plex/run index 947921d..4dd26db 100644 --- a/root/etc/services.d/plex/run +++ b/root/etc/services.d/plex/run @@ -3,4 +3,4 @@ echo "Starting Plex Media Server." exec \ s6-setuidgid abc /bin/bash -c \ - '/usr/lib/plexmediaserver/Plex\ Media\ Server' + 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server'