This file contains 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
# Rclone mount on boot | |
# Copy file to: /etc/systemd/system | |
# You need to create a remote on RClone and a folder on your disk, both with same name <rclone-remote> | |
# This example uses /cloud/ folder as origin to mount all remotes, change it to your needs | |
# This example use a linux user named rclone. Create it or adapt it to your needs. Rclone will get config from that user's home folder | |
# Register new service by typing: | |
# sudo systemctl daemon-reload | |
# Do the next one for every remote you want to load on boot | |
# sudo systemctl enable rclone-mount@<rclone-remote>.service | |
# systemctl start rclone-mount@<rclone-remote>.service |