What is the problem you are having with rclone?
I followed a tutorial to automount in rpi3 rclone google drive, but i have an issue with systemd
What is your rclone version (output from rclone version
)
rclone v1.49.3
- os/arch: linux/arm
- go version: go1.12.9
Which OS you are using and how many bits (eg Windows 7, 64 bit)
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Which cloud storage system are you using? (eg Google Drive)
Team Drive ( Google Drive )
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
I'm done with configuration of rclone, infact i can mount with:
rclone mount gdrive: $HOME/mnt/gdrive
I wish to automount drive, at boot.
I followed this tutorial and i hope that is possible, post a link of this.
I create rclone@.service in /home/pi/.config/systemd/user
rclone@.service is:
[Unit]
Description=rclone: Remote FUSE filesystem for cloud storage config %i
Documentation=man:rclone(1)
[Service]
Type=notify
ExecStartPre=/bin/mkdir -p %h/mnt/%i
ExecStart=
/usr/bin/rclone mount
--fast-list
--vfs-cache-mode writes
--vfs-cache-max-size 100M
%i: %h/mnt/%i
[Install]
WantedBy=default.target
But when i launch this command i get an error:
systemctl --user enable rclone@gdrive
The unit files have no installation config (WantedBy, RequiredBy, Also, Alias
settings in the [Install] section, and DefaultInstance for template units).
This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
- A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.- A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.- A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).- In case of template units, the unit is meant to be enabled with some
instance name specified.
So i can't do that.
Please can you help me ? And if i complete this tutorial, suggest to me, a better flags in rclone, to get more speed ? Anyway i know, is rpi3, so is limit, my idea is if works well, i'll buy a rpi4 that should be full gbit speed.
I wish to use ps3netsrv for that. So my games in cloud and ps3 that read them from google drive.