Rename plexpass to beta and document the beta flag (#77)
* Rename plexpass to beta and document the beta flag (Fixes: #54) * Comment cleanup
This commit is contained in:
parent
a60518e02e
commit
d877424c8c
@ -30,7 +30,7 @@ example: example
|
|||||||
pkgs: mono
|
pkgs: mono
|
||||||
|
|
||||||
plex: plex
|
plex: plex
|
||||||
plexpass: false
|
beta: false
|
||||||
|
|
||||||
nextcloud: nextcloud
|
nextcloud: nextcloud
|
||||||
ip4_addr: 192.168.1.99/24
|
ip4_addr: 192.168.1.99/24
|
||||||
|
@ -21,15 +21,15 @@ iocage exec plex chown -R plex:plex /config
|
|||||||
iocage exec plex pkg update
|
iocage exec plex pkg update
|
||||||
iocage exec plex pkg upgrade -y
|
iocage exec plex pkg upgrade -y
|
||||||
|
|
||||||
# Run different install procedures depending on Plex vs Plexpass
|
# Run different install procedures depending on Plex vs Plex Beta
|
||||||
if [ "$plex_plexpass" == "true" ]; then
|
if [ "$plex_beta" == "true" ]; then
|
||||||
echo "plexpass enabled in config.yml... using plexpass for install"
|
echo "beta enabled in config.yml... using plex beta for install"
|
||||||
iocage exec plex sysrc "plexmediaserver_plexpass_enable=YES"
|
iocage exec plex sysrc "plexmediaserver_plexpass_enable=YES"
|
||||||
iocage exec plex sysrc plexmediaserver_plexpass_support_path="/config"
|
iocage exec plex sysrc plexmediaserver_plexpass_support_path="/config"
|
||||||
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver-plexpass/
|
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver-plexpass/
|
||||||
iocage exec plex service plexmediaserver_plexpass restart
|
iocage exec plex service plexmediaserver_plexpass restart
|
||||||
else
|
else
|
||||||
echo "plexpass disabled in config.yml... NOT using plexpass for install"
|
echo "beta disabled in config.yml... NOT using plex beta for install"
|
||||||
iocage exec plex sysrc "plexmediaserver_enable=YES"
|
iocage exec plex sysrc "plexmediaserver_enable=YES"
|
||||||
iocage exec plex sysrc plexmediaserver_support_path="/config"
|
iocage exec plex sysrc plexmediaserver_support_path="/config"
|
||||||
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver/
|
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver/
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
# Plex
|
# Plex
|
||||||
|
|
||||||
|
### Config Parameters:
|
||||||
|
- beta: set to `true` if you want to run the plex beta (previously known as "plexpass"). Please note: This is not required for plexpass features
|
||||||
|
|
||||||
For more information about plex, please see the Plex website:
|
For more information about plex, please see the Plex website:
|
||||||
|
|
||||||
# Original plex install script guide
|
# Original plex install script guide
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
#!/usr/local/bin/bash
|
#!/usr/local/bin/bash
|
||||||
# This file contains the update script for Plex
|
# This file contains the update script for Plex
|
||||||
|
|
||||||
# Run different update procedures depending on Plex vs Plexpass
|
# Run different update procedures depending on Plex vs Plex Beta
|
||||||
if [ "$plex_plexpass" == "true" ]; then
|
if [ "$plex_plexpass" == "true" ]; then
|
||||||
echo "plexpass enabled in config.yml... using plexpass for update..."
|
echo "beta enabled in config.yml... using plex beta for update..."
|
||||||
iocage exec plex service plexmediaserver_plexpass stop
|
iocage exec plex service plexmediaserver_plexpass stop
|
||||||
# Plex is updated using PKG already, this is mostly a placeholder
|
# Plex is updated using PKG already, this is mostly a placeholder
|
||||||
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver-plexpass/
|
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver-plexpass/
|
||||||
iocage exec plex service plexmediaserver_plexpass restart
|
iocage exec plex service plexmediaserver_plexpass restart
|
||||||
else
|
else
|
||||||
echo "plexpass disabled in config.yml... NOT using plexpass for update..."
|
echo "beta disabled in config.yml... NOT using plex beta for update..."
|
||||||
iocage exec plex service plexmediaserver stop
|
iocage exec plex service plexmediaserver stop
|
||||||
# Plex is updated using PKG already, this is mostly a placeholder
|
# Plex is updated using PKG already, this is mostly a placeholder
|
||||||
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver/
|
iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver/
|
||||||
|
Loading…
Reference in New Issue
Block a user