Skip to content

Commit

Permalink
Export vendor/device/model/platformver information.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisallen committed Jul 4, 2018
1 parent 0ac6c01 commit 155f00c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion root/etc/services.d/plex/run
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ home="$(echo ~plex)"
export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR:-${home}/Library/Application Support}"
export PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
export PLEX_MEDIA_SERVER_INFO_DEVICE=docker
export PLEX_MEDIA_SERVER_INFO_VENDOR=Docker
export PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container"
export PLEX_MEDIA_SERVER_INFO_MODEL=$(uname -m)
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=$(uname -r)

if [ ! -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" ]; then
/bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
Expand Down

0 comments on commit 155f00c

Please sign in to comment.