From 8cff7ab5cfb008fa6097180408b774d22fee2f09 Mon Sep 17 00:00:00 2001 From: Dan Hoban <5687870+dwhoban@users.noreply.github.com> Date: Sun, 21 Sep 2025 16:42:18 +1000 Subject: [PATCH 1/2] Correct idle_timeout setting RClone specifies `0` not `0s` to disable timeouts --- includes/rclone/rclone-template.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/rclone/rclone-template.conf b/includes/rclone/rclone-template.conf index 9f65abf..e6ed716 100755 --- a/includes/rclone/rclone-template.conf +++ b/includes/rclone/rclone-template.conf @@ -3,4 +3,5 @@ type = smb host = REMOTE-HOST-PLACEHOLDER user = REMOTE-USER-PLACEHOLDER pass = REMOTE-PASSWORD-HASHED-PLACEHOLDER -idle_timeout = 0s +idle_timeout = 0 + From 4f16aeeadd71873c3b6c4d13b158efe8ce3e76da Mon Sep 17 00:00:00 2001 From: Dan Hoban <5687870+dwhoban@users.noreply.github.com> Date: Sun, 21 Sep 2025 16:46:49 +1000 Subject: [PATCH 2/2] Modify rclone-mount-template.service settings --- includes/rclone/rclone-mount-template.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/rclone/rclone-mount-template.service b/includes/rclone/rclone-mount-template.service index 2e0c4c8..9a6872a 100755 --- a/includes/rclone/rclone-mount-template.service +++ b/includes/rclone/rclone-mount-template.service @@ -10,6 +10,7 @@ ExecStart=/usr/bin/rclone mount REMOTE-NAME-PLACEHOLDER: REMOTE-MOUNTPOINT-PLACE --config DOCKER-FOLDER-PLACEHOLDER/appdata/rclone/rclone.conf \ --log-file=DOCKER-FOLDER-PLACEHOLDER/logs/HOSTNAME-PLACEHOLDER/rclone-REMOTE-NAME-PLACEHOLDER.log \ --log-level NOTICE \ +--log-file-max-size 5M \ --allow-other \ --no-modtime \ --umask 002 \ @@ -23,6 +24,7 @@ ExecStart=/usr/bin/rclone mount REMOTE-NAME-PLACEHOLDER: REMOTE-MOUNTPOINT-PLACE --vfs-cache-max-size REMOTE-CACHESIZE-PLACEHOLDERG \ --vfs-read-chunk-size-limit 10G \ --vfs-refresh \ +--vfs-links \ #--rc \ #--rc-web-gui \ #--rc-addr :5572 \ @@ -33,7 +35,7 @@ ExecStart=/usr/bin/rclone mount REMOTE-NAME-PLACEHOLDER: REMOTE-MOUNTPOINT-PLACE --use-mmap ExecStop=/bin/fusermount -uz REMOTE-MOUNTPOINT-PLACEHOLDER #ExecStartPost=/usr/bin/rclone rc vfs/refresh recursive=true --rc-addr :5572 _async=true -Restart=on-abort +Restart=on-failure User=USERNAME-PLACEHOLDER Group=USERNAME-PLACEHOLDER KillMode=mixed @@ -41,3 +43,4 @@ RestartSec=5 [Install] WantedBy=default.target +