mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-08 17:02:25 +02:00
Add documentation for systemd service
Add instruction for enabling the systemd service and reading the logs.
This commit is contained in:
parent
e58c76d7da
commit
10f205de3a
14
README.md
14
README.md
|
@ -151,6 +151,20 @@ An example of the log file is below:
|
|||
2018-Apr-07 17:09:38.5708652 Applying changes of Path ID: <redacted>
|
||||
```
|
||||
|
||||
## OneDrive service
|
||||
If you want to sync your files automatically, enable and start the systemd service:
|
||||
```sh
|
||||
systemctl --user enable onedrive
|
||||
systemctl --user start onedrive
|
||||
```
|
||||
|
||||
To see the logs run:
|
||||
```sh
|
||||
journalctl --user-unit onedrive -f
|
||||
```
|
||||
|
||||
Note: systemd is supported on Ubuntu only starting from version 15.04
|
||||
|
||||
### Uninstall
|
||||
```sh
|
||||
sudo make uninstall
|
||||
|
|
Loading…
Reference in a new issue