Skip to content

Instantly share code, notes, and snippets.

@MorphyDK
Created August 2, 2023 14:12
Show Gist options
  • Save MorphyDK/218f40c06a19e1f3a337826b5c6ec1de to your computer and use it in GitHub Desktop.
Save MorphyDK/218f40c06a19e1f3a337826b5c6ec1de to your computer and use it in GitHub Desktop.
Rclonemount for Dropbox
[Unit]
Description=RClone Service
After=network-online.target
Wants=network-online.target
[Service]
Type=notify
Environment=RCLONE_CONFIG=/YOUR_PATH/rclone/rclone.conf
RestartSec=5
ExecStart=/usr/bin/rclone mount dcrypt: /YOUR/MOUNT/POINT/FOLDER \
--allow-other \
--dir-cache-time 9999h \
--umask 002 \
--cache-dir=/YOUR_CACHE_FOLDER \
--vfs-fast-fingerprint \
--vfs-cache-mode full \
--vfs-cache-max-size 50G \
--vfs-cache-max-age 48h \
--bwlimit-file 32M
--default-time 2023-01-01 \
--tpslimit 12 \
--tpslimit-burst 0
ExecStop=/bin/fusermount3 -uz /home/plex/mnt
Restart=on-failure
User=YOURUSERNAME
Group=YOURUSERNAME
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment