Sure:
rclone.conf
[GD]
type = drive
client_id = clientId
client_secret = secret
token = {"access_token”:”token”,”token_type":"Bearer","refresh_token”:”refresh token,”expiry":"2018-05-08T07:21:59.015731846-04:00"}
[gcache]
type = cache
remote = GD:media
chunk_total_size = 32G
plex_url = http://192.168.1.30:32400
plex_username =email@gmail.com
plex_password = password
plex_token = token
[gmedia]
type = crypt
remote = gcache:
filename_encryption = standard
password = password
password2 = password
directory_name_encryption = true
my systemd startup:
[Unit]
Description=RClone Service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/rclone mount gmedia: /gmedia \
--allow-other \
--dir-cache-time=160h \
--cache-chunk-size=10M \
--cache-info-age=168h \
--cache-workers=5 \
--cache-tmp-upload-path /data/rclone_upload \
--cache-tmp-wait-time 60m \
--buffer-size 0M \
--syslog \
--umask 002 \
--rc \
--log-level INFO
ExecStop=/usr/bin/sudo /usr/bin/fusermount -uz /gmedia
Restart=on-abort
User=felix
Group=felix
[Install]
WantedBy=default.target
I point everything to my decrypted /gmedia/TV or /gmedia/Movies mount and store stuff locally for 60 minutes before uploading. I personally also use plex_autoscan because that helps me with replacing media if I upgrade as it handles emptying the trash and has a failsafe to not empty if more the ‘x’ items in the trash.