Hi the below service, uploads are cached locally and reduces Coreelec .storage size and slows system and can’t upload more than 5gb(Coreelec storage size). Please help this never used to happen.
[Unit]
Description=RClone Gdrive
After=network-online.target
[Service]
Type=simple
Environment=PATH=/storage/.opt/bin:/.opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ExecStartPre=/bin/mkdir -p /var/media/Gdrive
ExecStartPre=/bin/mkdir -p /storage/.config/rclone/logs
ExecStartPre=/bin/mkdir -p /storage/.config/rclone/cache
ExecStart=/storage/.config/rclone/rclone mount \
--log-file /storage/.config/rclone/logs/rclonemount.log \
--log-level INFO \
--allow-other \
--allow-non-empty \
--tpslimit 10 \
--tpslimit-burst 10 \
--dir-cache-time=48h \
--buffer-size=64M \
--attr-timeout=1s \
--vfs-read-chunk-size=64M \
--vfs-read-chunk-size-limit=2G \
--vfs-cache-max-age=5m \
--vfs-cache-mode=writes \
--cache-dir /storage/.config/rclone/cache \
--config=/storage/.config/rclone/rclone.conf \
Gdrive: /var/media/Gdrive
ExecStop=/bin/fusermount -uz /var/media/Gdrive
Restart=on-abort
[Install]
WantedBy=default.target