Package Details: rclone-mount-service 07032022-1

Git Clone URL: https://aur.archlinux.org/rclone-mount-service.git (read-only, click to copy)
Package Base: rclone-mount-service
Description: Rclone systemd user service
Upstream URL: None
Submitter: victorbnl
Maintainer: victorbnl
Last Packager: victorbnl
Votes: 3
Popularity: 0.072997
First Submitted: 2023-01-24 18:53 (UTC)
Last Updated: 2023-02-11 18:55 (UTC)

Pinned Comments

victorbnl commented on 2023-01-24 18:57 (UTC) (edited on 2023-07-08 16:15 (UTC) by victorbnl)

To use this service, first create the directory ~/mnt/<REMOTE> and enable the service:

systemctl --user enable rclone@<REMOTE>

If, for some reason, you need to disable certificate checking, you can do so by overriding the service with systemctl --user edit rclone@<REMOTE>.service and adding

[Service]
Environment="RCLONE_NO_CHECK_CERTIFICATE=true"

Latest Comments

cwillisf commented on 2023-11-21 17:02 (UTC)

Thanks for this package, @victorbnl! (And kabili207 as well!)

I recommend replacing every %i in rclone@.service with %I instead. That, along with using systemd-escape, will allow folks to name remotes & mounts with spaces and other special characters. For example:

rclone config create "Name with spaces" someBackend --all
systemctl --user enable rclone@$(systemd-escape "Name with spaces")
systemctl --user start rclone@$(systemd-escape "Name with spaces")

In the meantime, anyone who wants this behavior can edit /usr/lib/systemd/user/rclone@.service, replace all %i with %I, and then run systemctl --user daemon-reload to activate the changes.

victorbnl commented on 2023-07-08 16:15 (UTC)

I fixed it, thank you.

MaximGun commented on 2023-07-07 17:03 (UTC) (edited on 2023-07-07 17:04 (UTC) by MaximGun)

Hi @victorbnl, thanks for this useful package.

The instructions in the currently pinned comment from 2023-01-24 are incorrect. systemctl --user enable rclone-mount@<REMOTE> should be systemctl --user enable rclone@<REMOTE>

victorbnl commented on 2023-02-11 18:53 (UTC)

Thank you!

sekret commented on 2023-02-11 17:53 (UTC)

You can change the arch variable to 'any', because there's no binary in there.

victorbnl commented on 2023-01-24 18:57 (UTC) (edited on 2023-07-08 16:15 (UTC) by victorbnl)

To use this service, first create the directory ~/mnt/<REMOTE> and enable the service:

systemctl --user enable rclone@<REMOTE>

If, for some reason, you need to disable certificate checking, you can do so by overriding the service with systemctl --user edit rclone@<REMOTE>.service and adding

[Service]
Environment="RCLONE_NO_CHECK_CERTIFICATE=true"