Rclone mount with Systemd

[Unit]
Requires=network-online.target
After=network-online.target
 
[Service]
SyslogIdentifier=my-rclone.service
Type=simple
ExecStartPre=/bin/mkdir -p /mnt/rclone
ExecStart=/usr/bin/rclone mount remote:a/b/c /mnt/rclone --config /root/.rclone.conf --checkers 16 --dir-cache-time 10m --read-only
ExecStop=/bin/fusermount -u /mnt/rclone
Restart=on-abort
 
[Install]
WantedBy=multi-user.target

See Alsos