Auto-install plexpass update
This commit is contained in:
parent
96616ce5b0
commit
058ebc3b07
|
@ -1,5 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/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/"
|
mkdir -p "/config/Plex Media Server/"
|
||||||
cp -n /Preferences.xml "/config/Plex Media Server/"
|
cp -n /Preferences.xml "/config/Plex Media Server/"
|
||||||
rm -f "/config/Plex Media Server/plexmediaserver.pid"
|
rm -f "/config/Plex Media Server/plexmediaserver.pid"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
USERNAME=username
|
USERNAME=username
|
||||||
PASSWORD=hunter2
|
PASSWORD=hunter2
|
||||||
USE_SSL=false
|
USE_SSL=false
|
||||||
|
|
||||||
|
# For Plex Pass downlaod
|
||||||
|
PLEX_EMAIL=
|
||||||
|
PLEX_PASSWORD=
|
||||||
|
|
|
@ -49,6 +49,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- config:/config
|
- config:/config
|
||||||
- torrents:/torrents
|
- torrents:/torrents
|
||||||
|
env_file:
|
||||||
|
- config
|
||||||
|
|
||||||
sickrage:
|
sickrage:
|
||||||
image: kelvinchen/seedbox:sickrage
|
image: kelvinchen/seedbox:sickrage
|
||||||
|
|
Loading…
Reference in New Issue