Skip to content

Instantly share code, notes, and snippets.

@shanehughes1990
Created February 4, 2022 12:15
Show Gist options
  • Save shanehughes1990/b1f4473c018a78e22df7ccad52cf3788 to your computer and use it in GitHub Desktop.
Save shanehughes1990/b1f4473c018a78e22df7ccad52cf3788 to your computer and use it in GitHub Desktop.
[Unit]
Description=Mergerfs media mount
Requires=gcrypt_media.service
After=gcrypt_media.service
[Service]
Type=forking
ExecStart=/usr/bin/mergerfs /data/local_media/media:/data/gcrypt_media /data/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
User=shanehughes
Group=shanehughes
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment