mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-03 06:22:18 +02:00
instruction on how to run the service
This commit is contained in:
parent
c2b0b7f733
commit
7e3d36750a
12
README.md
12
README.md
|
@ -46,6 +46,18 @@ Use `|` to separate multiple patterns.
|
||||||
### First run
|
### First run
|
||||||
The first time you run the program you will be asked to sign in. The procedure require a web browser.
|
The first time you run the program you will be asked to sign in. The procedure require a web browser.
|
||||||
|
|
||||||
|
### Service
|
||||||
|
If you want to sync your files automatically, enable and start the systemd service:
|
||||||
|
```
|
||||||
|
systemctl --user enable onedrive
|
||||||
|
systemctl --user start onedrive
|
||||||
|
```
|
||||||
|
|
||||||
|
To see the logs run:
|
||||||
|
```
|
||||||
|
journalctl --user-unit onedrive -f
|
||||||
|
```
|
||||||
|
|
||||||
### Usage:
|
### Usage:
|
||||||
|
|
||||||
onedrive [OPTION]...
|
onedrive [OPTION]...
|
||||||
|
|
Loading…
Reference in a new issue