Last active
January 3, 2023 14:48
-
-
Save MorphyDK/aedcdc8bb6877aec39f08e980d9f68e7 to your computer and use it in GitHub Desktop.
Mergerfs service file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Megerfs Service | |
| Requires=rclonemount.service | |
| After=rclonemount.service | |
| RequiresMountsFor=/home/plex/mnt | |
| [Service] | |
| Type=forking | |
| User=plex | |
| Group=plex | |
| 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 | |
| ExecStop=/home/plex/mnt | |
| Restart=on-failure | |
| [Install] | |
| WantedBy=multi-user.target | |
Author
Updated with some minor changes :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks 👍