Add documentation for systemd service

Add instruction for enabling the systemd service and reading the logs.
This commit is contained in:
Kurgol 2018-07-25 09:46:44 +01:00 committed by GitHub
parent e58c76d7da
commit 10f205de3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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