blob: 6ce2f5ded08defd4dc05f17e6abef5930e97f436 (
plain)
1
2
3
4
5
6
|
#!/bin/sh
exec 2>&1
export TERM=linux
. /etc/conf.d/plexmediaserver
sudo -uplex -gplex LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" PLEX_MEDIA_SERVER_HOME="${PLEX_MEDIA_SERVER_HOME}" PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" /usr/lib/plexmediaserver/Plex\ Media\ Scanner $@
|