Solution:
/usr/bin/onedrive/mount-onedrive.sh
#!/bin/bash
rclone mount --config ~/.config/rclone/rclone.conf --allow-non-empty --vfs-cache-mode writes onedrive: /home/$
{USER}/OneDrive
/etc/systemd/system/onedrive-mount.service
[Unit]
Description=Mount OneDrive with rclone
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/onedrive/mount-onedrive.sh
Restart=on-failure
RestartSec=10
User=<your-user>
[Install]
WantedBy=default.target
Note: This is important! If you have a Microsoft Notes url file, the directory you saved it in will not be loaded. rclone outputs ERROR : IO error: unknown object type <nil>.
No ideea why, I’ve just moved everything else from that dir an let the url file in it’s own dedicated dir(I don’t know why do I have these since I never use Notes, but whatever).
Yeah. This is the solution I came up with. Is a combination of the responses you guys gave and some further research about services.