Auto-install plexpass update

This commit is contained in:
Kelvin Chen 2016-10-07 02:35:38 -04:00
parent 96616ce5b0
commit 058ebc3b07
3 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,11 @@
#!/usr/bin/env bash
# Update to latest plexpass version
if [[ "$PLEX_EMAIL" ]]; then
echo -e "EMAIL='$PLEX_EMAIL'\nPASS='$PLEX_PASSWORD'" > "$HOME/.plexupdate"
plexupdate -ad
fi
mkdir -p "/config/Plex Media Server/"
cp -n /Preferences.xml "/config/Plex Media Server/"
rm -f "/config/Plex Media Server/plexmediaserver.pid"

View File

@ -1,3 +1,7 @@
USERNAME=username
PASSWORD=hunter2
USE_SSL=false
# For Plex Pass downlaod
PLEX_EMAIL=
PLEX_PASSWORD=

View File

@ -49,6 +49,8 @@ services:
volumes:
- config:/config
- torrents:/torrents
env_file:
- config
sickrage:
image: kelvinchen/seedbox:sickrage