Im a bit confused - im trying to implement a new setup via the link you provided me
In this setup Ani writes - that he has removed Mergerfs .
Under "My workflow" he write: "That was the reason to remove mergerfs and the upload script...."
But further down he writes he uses mergerfs . Under "My Rclone looks like: Rclone.conf"... :
They are all mounted via systemd scripts, rclone is mounted first followed by the mergerfs mount. ?
But his setup don't show the mergerfs.service file ? I don't see anything by with mergerfs under https://github.com/animosity22/homescripts/tree/master/systemd ?
Im just trying to understand the setup since im moving from a Google drive setup with 1 mount point , mergerfs and upload script.
As I understand from Ani in this guide, Dropbox use another API than Google drive, so not to overload the api hits, he made several mount points .
He seems to download to a folder called /data which then copy to /media/tv or /media/movies , but where does mergerfs appear in this setup?
I want to move away from the old upload script and try use rclone to upload automatically
In my setup I have 1 drive only 1 TB SSD:
Rutorrent download all the files to /home/plex/rutorrent/download . Once downloaded Sonarr/Radarr copies the file to a /home/plex/move folder . Sonarr/Radarr root folders are set to /home/plex/media/ .
The script upload the files after 15 minuts. So if Sonarr/Radarr has copied it looks something like /home/plex/move/Movie/title 2023/ or /home/plex/move/TV-shows/Title/season etc. Once uploaded - plex see the data in /home/plex/mnt/
ExecStart=/usr/bin/rclone mount Googlecrypt: /home/plex/mnt \
--dir-cache-time 1000h \
--umask 002 \
ExecStop=/bin/fusermount -uz /home/plex/mnt
My mergerfs.service :
ExecStart=/usr/bin/mergerfs /home/plex/move:/home/plex/mnt /home/plex/media -o rw,use_ino,allow_other,func.getattr=newest,category.action=all,category.create=ff,cache.files=auto-full
if pidof -o %PPID -x "rclone-upload.sh"; then
# CHECK FOR FILES IN FROM FOLDER THAT ARE OLDER THAN 15 MINUTES
if find $FROM* -type f -mmin +15 | read
echo "$(date "+%d.%m.%Y %T") Rclone upload started" | tee -a $LOGFILE
# MOVE FILES OLDER THAN 15 MINUTES
rclone move "$FROM" "$TO" -v --drive-chunk-size=32M --delete-empty-src-dirs --transfers=5 --bwlimit 25M --checkers=5 --progress --min-age 15m --log-file=$LOGFILE
echo "$(date "+%d.%m.%Y %T") Rclone upload finished in $(($(date +'%s') - $start)) seconds" | tee -a $LOGFILE
What am I missing here regarding his mergerfs?