blob: 9ac16c761feb7bd27e8d64cba3421f3b20b3f813 (
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}" /opt/plexmediaserver/Plex\ Media\ Scanner $@
|