mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-23 16:12:12 +02:00
Update USAGE.md (#968)
* Update USAGE.md to clarify user unit directory
This commit is contained in:
parent
57abd74114
commit
35e1800aff
|
@ -583,8 +583,10 @@ onedrive --monitor --verbose --confdir="~/.config/onedriveWork" &
|
||||||
* `&` puts the application in background and leaves the terminal interactive
|
* `&` puts the application in background and leaves the terminal interactive
|
||||||
|
|
||||||
### Automatic syncing of both OneDrive accounts
|
### 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`
|
||||||
|
* Others: `/usr/lib/systemd/user`
|
||||||
|
|
||||||
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
|
```text
|
||||||
cp onedrive.service onedrive-work.service
|
cp onedrive.service onedrive-work.service
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue