Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=rclone: Remote FUSE filesystem for cloud storage config %i mounted at %h/Mount/%I/%i
- Documentation=man:rclone(1)
- After=network-online.target
- Wants=network-online.target
- [Service]
- Type=notify
- ExecStartPre=/bin/mkdir -p %h/Mount/%I/%n
- ExecStart=/usr/bin/rclone mount \
- --config=%h/.config/rclone/rclone.conf \
- --vfs-cache-mode writes \
- --vfs-cache-max-size 100M \
- --log-level INFO \
- --umask 022 \
- %i:%h/Mount/%I/%i
- ExecStop=/bin/fusermount -u %h/Mount/%I/%i
- [Install]
- WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement