mirror of
https://gh.con.sh/https://github.com/plexinc/pms-docker
synced 2025-04-25 15:57:19 +00:00
Export vendor/device/model/platformver information.
This commit is contained in:
parent
0ac6c01ef4
commit
155f00c71b
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user