Skip to content

Scripts to help manage Plex / rclone / ACD

License

Notifications You must be signed in to change notification settings

Miatrix/scripts

Repository files navigation

Scripts for use with Plex / rclone

Prerequisites

What things you need to install the software and how to install them

* Fully setup plex / rclone install
* Mount points for your local data / acd-crypt 

Installing / Deployment

To install you need to pull this git repo

cd /opt
git clone https://github.com/jaketame/scripts.git plexacd/
cd /opt/plexacd
chmod +x *.sh
Amend plexconf.conf with your relevant paths
Copy sysctl.conf to /etc/sysctl.conf - Please ensure you verify no existing parameters exist, if this is a fresh install there won't be

Once you have the scripts locally update crontab.

Required

@reboot /opt/plexacd/mount-crypt.sh

You have two options for uploading to acd

Option 1 - Upload files to cloud based on local filesystem free space

*/5 * * * * /opt/plexacd/disk-check.sh

Option 2 - Upload files every 6 hours

0 */6 * * * /opt/plexacd/upload-cloud.sh

Optional - Run mount-check every 5 minutes to verify mount is still online Not needed as rclone mount is fairly stable

*/5 * * * * /opt/plexacd/check-mount.sh

About

Scripts to help manage Plex / rclone / ACD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages