Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zoonderkins/9394290534389930b1cec6e8f8e25c42 to your computer and use it in GitHub Desktop.
Save zoonderkins/9394290534389930b1cec6e8f8e25c42 to your computer and use it in GitHub Desktop.
Mount data with rclone hetnzer storage box

mkdir /mnt/de1-storage

Rsync daemon mount on system boot

nano /etc/rc.local

rclone mount --daemon --allow-non-empty --vfs-cache-mode writes de1-storage: /mnt/de1-storage 

exit 0

# Then
chmod +x /etc/rc.local

systemctl enable rc-local.service
systemctl start rc-local.service

Dependencies

apt install fuse socat git curl htop nload screen

curl https://rclone.org/install.sh | sudo bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment