summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/plex-media-server/files/etc-plexmediaserver')
-rw-r--r--media-tv/plex-media-server/files/etc-plexmediaserver23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-tv/plex-media-server/files/etc-plexmediaserver b/media-tv/plex-media-server/files/etc-plexmediaserver
new file mode 100644
index 000000000000..51709fc84999
--- /dev/null
+++ b/media-tv/plex-media-server/files/etc-plexmediaserver
@@ -0,0 +1,23 @@
+# default script for Plex Media Server
+
+# the number of plugins that can run at the same time
+export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
+
+# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
+export PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000
+
+# where the mediaserver should store the transcodes
+export PLEX_MEDIA_SERVER_TMPDIR=/tmp
+
+# uncomment to set it to something else
+# export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application Support"
+
+# the user that PMS should run as, defaults to 'plex'
+# note that if you change this you might need to move
+# the Application Support directory to not lose your
+# media library (match what is in /etc/passwd)
+export PLEX_MEDIA_SERVER_USER=plex
+
+# Uncomment this to use syslog for logging instead of
+# sending logs to Plex Media Server.log
+#export PLEX_MEDIA_SERVER_USE_SYSLOG=true