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.
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: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