mirror of
https://github.com/linuxserver/docker-plex.git
synced 2026-02-19 20:03:03 +08:00
put LIBPATH in dockerfile, try using /bin/bash in place of /bin/sh to see if jenkins crash happens
This commit is contained in:
parent
86ff461b42
commit
28aed5a071
@ -9,7 +9,8 @@ PLEX_INSTALL="https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x8
|
||||
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_MAX_PLUGIN_PROCS="6" \
|
||||
LD_LIBRARY_PATH="/usr/lib/plexmediaserver:$LD_LIBRARY_PATH"
|
||||
|
||||
# install packages
|
||||
RUN \
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
echo "Starting Plex Media Server."
|
||||
exec s6-setuidgid abc /bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server'
|
||||
exec \
|
||||
s6-setuidgid abc /bin/bash -c \
|
||||
'/usr/lib/plexmediaserver/Plex\ Media\ Server'
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user