Estou utilizando o Rclone para montar uma unidade do onedrive.
Foi configurado tudo corretamente. Utilizando o rclone-browser consigo montar a unidade e utilizar.
Ao tentar automatizar a montagem pelo systemd ele nao funciona.
Alguem consegue me ajudar a identificar o erro da configuração?
I am using Rclone to mount a one-drive unit. Everything was set up correctly. Using the rclone-browser I can mount the unit and use it. When trying to automate the assembly by systemd it does not work. Can someone help me to identify the configuration error?
Your config is missing \ at the end of the continued lines
ExecStart=/usr/bin/rclone mount
--config=/home/jason/.config/rclone/rclone.conf \
--cache-writes \
...
Fiz a automação pelo comando sh -c "rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive" rodando na inicialização do sistema. Ficou ate mais simples.
Thanks for the answer. It worked. I did the automation using the command sh -c "rclone --vfs-cache-mode writes mount OneDrive: ~ / OneDrive" running at system startup. It became even simpler.
Yes that works too! Systemd can restart rclone if it dies but a nice simple script you understand is good too.