add plex user to video group to enable future hardware encoding jail side. (#78)

This commit is contained in:
Kjeld Schouten-Lebbing 2020-04-25 15:59:04 +02:00 committed by kjeld Schouten-Lebbing
parent d877424c8c
commit f0437b87c8

View File

@ -21,6 +21,9 @@ 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
# Add plex user to video group for future hw-encoding support
iocage exec plex pw groupmod -n video -m plex
# Run different install procedures depending on Plex vs Plex Beta # Run different install procedures depending on Plex vs Plex Beta
if [ "$plex_beta" == "true" ]; then if [ "$plex_beta" == "true" ]; then
echo "beta enabled in config.yml... using plex beta for install" echo "beta enabled in config.yml... using plex beta for install"