Jottacloud: how well is it working with rclone?

The problem with tokens getting out of sync between rclone (docker plugins) instances can be solved by synching rclone.conf across nodes.

possible ways:

  1. systemd .path units + rsync
  2. inotify cli + rsync
  3. syncthing
  4. etc

future idea:
rclone rest api has got an endpoint to update rclone.conf section values. why not use it?
we can run every involved rclone instance with --rcd flag and note its ip and port. we just need a new command-line flag --config-to http://ip1:port1,http://apiuser:apipass@ip2:port2,....
Every time rclone config system detects a config value change, it will spawn a concurrent goroutine to send rclone api requests spreading the change (obeying --timeout and --contimeout).

@ncw do you like the idea?

1 Like