My goal is to have files open in plex/emby as fast as posible
Anything wrong with the following?
[Unit]
Description=drive
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
User=user
Group=user
Environment=RCLONE_CONFIG=/opt/rclone/rclone.conf
KillMode=none
RestartSec=5
ExecStart=/usr/bin/rclone mount cache: /mnt/drive \
--allow-other \
--bind xx.xx.xxx.xxx \
--gid=1000 \
--uid=1000 \
--fast-list \
--buffer-size 0M \
--dir-cache-time 8760h \
--drive-chunk-size 32M \
--vfs-read-chunk-size 32M \
--vfs-read-chunk-size-limit off \
--vfs-cache-mode writes \
--cache-workers=8 \
--cache-dir "/data/.cache/rclone" \
--cache-db-path "/data/.cache/rclone/cache.db" \
--cache-chunk-path "/data/.cache/rclone/cache" \
--config "/opt/rclone/rclone.conf" \
--log-level INFO \
--umask 002 \
--user-agent rclone \
--log-file "/opt/rclone/logs/rclone.log"
ExecStop=/bin/fusermount -uz /mnt/drive
Restart=on-failure
[Install]
WantedBy=default.target
[drive]
type = drive
client_id = x
client_secret = x
scope = drive
token = x
root_folder_id = x
[cache]
type = cache
remote = drive:
plex_url = http://127.0.0.1:32400
plex_username = x
plex_password = x
plex_token = x
chunk_size = 32M
info_age = 8760h
chunk_total_size = 50G
db_path = /data/.cache/rclone/cache.db
chunk_path = /data/.cache/rclone/cache
chunk_clean_interval = 5m
workers = 8
upload_cutoff = 128M