[Unit]
Description= RClone Mount Service
After=network-online.target
[Service]
Type=notify
ExecStart=/usr/bin/rclone mount
–config=/home/ubuntu/.config/rclone/rclone.conf
–user-agent=sauberlab
–allow-other
–timeout=1h
–poll-interval=15s
–dir-cache-time=1000h
–cache-dir=/mnt/rclone/cache/gmedia
–vfs-cache-mode=full
–vfs-cache-max-size=20G
–vfs-cache-max-age=12h
crypt-gdrive: /mnt/cloud
ExecStop=/bin/fusermount -uz /mnt/cloud
Restart=on-abort
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
[Install]
WantedBy=multi-user.target
And i get this error:
onedrive.service - RClone Mount Service
Loaded: loaded (/etc/systemd/system/onedrive.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-06-21 01:21:16 UTC; 10s ago
Process: 19000 ExecStart=/usr/bin/rclonemount –config=/home/ubuntu/.config/rclone/rclone.conf –user-agent=ubuntu –allow-other –timeout=1h –poll-interval=15s –dir-c>
Main PID: 19000 (code=exited, status=203/EXEC)
Jun 21 01:21:16 istreamtv systemd[1]: Starting RClone Mount Service...
Jun 21 01:21:16 istreamtv systemd[19000]: onedrive.service: Failed to execute command: No such file or directory
Jun 21 01:21:16 istreamtv systemd[19000]: onedrive.service: Failed at step EXEC spawning /usr/bin/rclonemount: No such file or directory
Jun 21 01:21:16 istreamtv systemd[1]: onedrive.service: Main process exited, code=exited, status=203/EXEC
Jun 21 01:21:16 istreamtv systemd[1]: onedrive.service: Failed with result 'exit-code'.
Jun 21 01:21:16 istreamtv systemd[1]: Failed to start RClone Mount Service.
lines 1-12/12 (END)
I'm using OCI (Oracle Cloud Infrastructure)
Specs
Canonical-Ubuntu-20.04-aarch64
Shape: VM.Standard.A1.Flex
CPU count: 4
Network bandwidth (Gbps): 4
Memory (GB): 24