Sanity-check my configuration please?

I just want to post my config for my primary Plex server here, and get everyone's inputs - ie sanity-check. I'm also wondering if I'm doing something kind of mindless by specifying a chunk_size in rclone.conf and vfs-read-chunk-size in the mount command. Comments appreciated, I just want to optimize this. No errors currently and it appears to be working fine but I want the good ol' experts here to eyes-on this and tell me what I've done makes sense and is sensible. Thank you in advance.

rclone.conf

[GDrive]
type = drive
client_id = ***redacted***
client_secret = ***redacted***
scope = drive
team_drive = ***redacted***
token = ***redacted***
use_trash = false
chunk_size = 16M

[GCrypt]
type = crypt
remote = GDrive:
filename_encryption = standard
directory_name_encryption = true
password = ***redacted***
password2 = ***redacted***

SystemD mount

[Unit]
Description=rclone-crypt
After=network-online.target

[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/bin/rclone mount GCrypt: /mnt/GCrypt --allow-other --buffer-size 256M --dir-cache-time 24h --drive-chunk-size 128M --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --use-mmap
ExecStop=/bin/fusermount -uz /mnt/GCrypt
Restart=always
RestartSec=2

[Install]
WantedBy=multi-user.target

I'd remove that if you aren't using a cache backend.

This has a polling bug so I'd keep trash on and use rclone cleanup on a cron job or something:

I'd probably make the dir cache time higher, but doesn't matter much.

I've completely never touched the rclone cleanup. You have a frequency recommendation?

It basically empties the trash. I do it once a day.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.