Run Rclone before Login

Hello, I trying to run Rclone before login. The OS is debian, working with GoogleDrive.

It works fine when the login is done, but I need run before it.

Hope you can give me an advise to get it!

This is the file for the service:

Description=rclone: Remote FUSE filesystem for cloud storage config %i

ExecStartPre=/bin/mkdir -p %h/mnt/%i
/usr/bin/rclone mount
--vfs-cache-mode writes
--vfs-cache-max-size 100M
--umask 0777
%i: %h/mnt/%i
ExecStop=/bin/fusermount -u -z %h/mnt/%i
ExecStop=/bin/rmdir %h/mnt/%i

Thank you!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.