Update USAGE.md

* Update to detail that when using multi-configurations, ensure that the 'sync_dir' config option is updated to a unique directory
This commit is contained in:
abraunegg 2020-09-02 14:14:54 +10:00 committed by GitHub
parent 1fb6c66453
commit bcd710a087
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -596,6 +596,8 @@ onedrive --monitor --verbose --confdir="~/.config/onedriveWork" &
* `--monitor` keeps the application running and monitoring for changes both local and remote
* `&` puts the application in background and leaves the terminal interactive
**Important:** For each configuration, change the 'sync_dir' to a new value, unique for each specific configuration. Leaving this at the default of `sync_dir = "~/OneDrive"` will cause all data from both accounts to be synced to the same folder, then to each other.
### Automatic syncing of both OneDrive accounts
In order to automatically start syncing your OneDrive accounts, you will need to create a service file for each account. From the applicable 'user systemd folder':
* RHEL / CentOS: `/usr/lib/systemd/system`