My VFS SweetSpot - Updated 30-Aug-2018


#563

Here is my Systemd service file.
I have not been able to spot what cause the last scan. I guess it is related to a deep scan from either plex, radarr or sonarr. I have no other service on my server.

sorg@asteroid:~$ cat /etc/systemd/system/gmedia-rclone.service
[Unit]
Description=RClone Service
PartOf=gmedia.service

[Service]
Type=notify
#StandardOutput=syslog
#StandardError=syslog
#SyslogIdentifier=RCLONE_MOUNT
Environment=RCLONE_CONFIG=/home/sorg/.rclone.conf
ExecStart=/usr/bin/rclone mount CryptSansCache: /media/GD \
   --allow-other \
   --fast-list \
   --buffer-size 256M \
   --dir-cache-time 72h \
   --drive-chunk-size 32M \
   --log-level DEBUG \
   --syslog \
   --timeout 1h \
   --umask 002 \
   --vfs-read-chunk-size 128M \
   --vfs-read-chunk-size-limit off \
   --rc
ExecStop=/bin/fusermount -uz /media/GD
Restart=on-failure
User=sorg
Group=sorg

[Install]
WantedBy=gmedia.service

#564

I have analyze off in Sonarr/Radarr and deep analysis off in plex.