Add plex transcoding ramdisk creation (#79)
This commit is contained in:
parent
759da942d2
commit
46d1487191
@ -14,6 +14,12 @@ createmount plex ${global_dataset_media}/movies /mnt/media/movies
|
||||
createmount plex ${global_dataset_media}/music /mnt/media/music
|
||||
createmount plex ${global_dataset_media}/shows /mnt/media/shows
|
||||
|
||||
# Create plex ramdisk if specified
|
||||
if [ -z "${plex_ramdisk}" ]; then
|
||||
echo "no ramdisk specified for plex, continuing without randisk"
|
||||
else
|
||||
iocage fstab -a plex tmpfs /tmp_transcode tmpfs rw,size=${plex_ramdisk},mode=1777 0 0
|
||||
fi
|
||||
|
||||
iocage exec plex chown -R plex:plex /config
|
||||
|
||||
|
@ -5,6 +5,10 @@
|
||||
|
||||
For more information about plex, please see the Plex website:
|
||||
|
||||
### Config Parameters:
|
||||
|
||||
- ramdisk: Specify the `size` parameter to create a transcoding ramdisk under /tmp_transcode. Requires manual setting it un plex to be used for transcoding. (optional)
|
||||
|
||||
# Original plex install script guide
|
||||
|
||||
https://www.ixsystems.com/community/resources/fn11-3-iocage-jails-plex-tautulli-sonarr-radarr-lidarr-jackett-transmission-organizr.58/
|
Loading…
Reference in New Issue
Block a user