Skip to content

Seamless Jellyfin Playback with mergerfs and Rclone #1454

Answered by xd003
xd003 asked this question in Q&A
Discussion options

You must be logged in to vote
[Unit]
Description=MergerFS mergerfs /mnt/mergerfs service
After=gdmount.service
Requires=gdmount.service

[Service]
Type=simple
KillMode=none
ExecStart=/usr/bin/mergerfs \
    -f \
    -o cache.files=off \
    -o category.create=ff \
    -o func.getattr=newest \
    -o dropcacheonclose=false \
    -o fsname=mergerfs \
    /mnt/local=RW:/mnt/remote=RO \
    /mnt/mergerfs

ExecStop=/bin/fusermount3 -uz /mnt/mergerfs
Restart=on-failure
RestartSec=5s

[Install]
WantedBy=default.target

Based on the quickstart guide, I've finalized this setup. Does it look good to go, or would you suggest any changes?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@xd003
Comment options

Answer selected by xd003
@trapexit
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants