This service will use the same remote name you specified when using rclone config create
. If you haven't done that yet, do so now.
Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote>
by default.
mkdir ~/mnt/dropbox
The --allow-other
option is required in order to work in many desktop environments. This flag must be enabled by adding user_allow_other
to /etc/fuse.conf
. If you aren't using a desktop environment, such as on a server, this option can be omitted.
Save the [email protected]
file in ~/.config/systemd/user/
Make sure you include the @
. This is required to work.
As your normal user, run:
systemctl --user daemon-reload
You can now start/enable each remote by using rclone@<remote>
systemctl --user enable --now rclone@dropbox
Hi, and thanks for your template. I have two things want to mention though.
The rclone mount#systemd document says:
But this template only provides the config path.
Second, the systemd specifiers are already provided
XDG_CONFIG_HOME
(as %E) andXDG_CACHE_HOME
(as %C), so I guess I can use them directly(?)I use this for my computer:
By the way, I'm on archlinux with kde plasma, and I don't know why, but I didn't need the
--allow-other
. Just saying.