fix nvidia vars, add device vars

This commit is contained in:
aptalca 2019-02-09 17:27:10 +00:00
parent 9109939e60
commit a0fbde5776
6 changed files with 34 additions and 7 deletions

View file

@ -1,6 +1,8 @@
#!/usr/bin/with-contenv bash
echo "Starting Plex Media Server."
export PLEX_MEDIA_SERVER_INFO_MODEL=$(uname -m)
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r)
exec \
s6-setuidgid abc /bin/bash -c \
'LD_LIBRARY_PATH=/usr/lib/plexmediaserver:/usr/lib/plexmediaserver/lib /usr/lib/plexmediaserver/Plex\ Media\ Server'