Created
February 28, 2014 20:49
-
-
Save joshenders/9279611 to your computer and use it in GitHub Desktop.
plexmediaserver's primitive start.sh script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#SCRIPTPATH=$(dirname $(python -c 'import sys,os;print os.path.realpath(sys.argv[1])' $0)) | |
SCRIPT=$(readlink -f $0) | |
SCRIPTPATH=`dirname ${SCRIPT}` | |
export LD_LIBRARY_PATH="${SCRIPTPATH}" | |
export PLEX_MEDIA_SERVER_HOME="${SCRIPTPATH}" | |
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 | |
export LC_ALL="en_US.UTF-8" | |
export LANG="en_US.UTF-8" | |
ulimit -s 3000 | |
./Plex\ Media\ Server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment