systemd mount unit for rclone

systemd mount unit for rclone


# /etc/systemd/system/mnt-storagebox.mount
[Unit]
After=network-online.target
[Mount]
Type=rclone
What=storagebox:backups
Where=/mnt/storagebox
Options=rw,allow_other,args2env,vfs-cache-mode=full,config=/home/werwolf/.config/rclone/rclone.conf,cache-dir=/var/cache/rclone

The unit name should be the path to the mount point where the / characters are replaced with -

Содержание