Update USAGE.md to clarify path when setting up multiple daemons (#798)

Clarifying path for setting up multiple daemons (@pluniak)
This commit is contained in:
Philipp Luniak 2020-02-12 20:57:07 +01:00 committed by GitHub
parent fc6e2d9cfe
commit afff84c2e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -558,11 +558,11 @@ onedrive --monitor --verbose --confdir="~/.config/onedriveWork" &
### 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 `~/onedrive` folder:
In order to automatically start syncing your OneDrive accounts, you will need to create a service file for each account. From the `/usr/lib/systemd/user` folder:
```text
cp onedrive.service onedrive-work.service
```
And edit the line beginning with `ExecStart` so that the command mirrors the one you used above:
And edit the line beginning with `ExecStart` so that the confdir mirrors the one you used above:
```text
ExecStart=/usr/local/bin/onedrive --monitor --confdir="/path/to/config/dir"
```