Skip to content

Instantly share code, notes, and snippets.

@MorphyDK
Last active September 19, 2020 15:53
Show Gist options
  • Save MorphyDK/4546bec8b13d48dfe33961854640bbb1 to your computer and use it in GitHub Desktop.
Save MorphyDK/4546bec8b13d48dfe33961854640bbb1 to your computer and use it in GitHub Desktop.
Mergerfs.service for Ubuntu Desktop 20.04
[Unit]
Description=mergerfs mount
Requires=rclonemount.service
After=rclonemount.service
RequiresMountsFor=/home/plex/mnt
[Service]
Type=forking
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
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment