Issues in start_pms script

PS - For what it's worth, I'd also replace this

echo $PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS $PLEX_MEDIA_SERVER_MAX_STACK_SIZE $PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR

 with something like this:

env | sort | grep PLEX

which generates much nicer startup output: 

PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/config
PLEX_MEDIA_SERVER_HOME=/opt/plexmediaserver
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=3
PLEX_MEDIA_SERVER_TMPDIR=/config/tmp
PLEX_MEDIA_SERVER_USER=media

but I'm not sure if env, grep, and sort are widely available. Perhaps someone could weigh in if they know? Or perhaps it's just better to make echo emulate this manually, instead of outputting a pseudo-cryptic message like "3 3000 /some/big/directory" on startup.