Update USAGE.md

* Update 'root' systemd details
This commit is contained in:
abraunegg 2022-05-16 13:50:42 +10:00 committed by GitHub
parent ee2da78446
commit 69d4a64456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -872,6 +872,7 @@ tail -f /var/log/onedrive/<username>.onedrive.log
To change what 'user' the client runs under (by default root), manually edit the init.d service file and modify `daemon --user root onedrive_service.sh` for the correct user.
### OneDrive service running as root user via systemd (Arch, Ubuntu, Debian, OpenSuSE, Fedora)
First, su to root using `su - root`, then enable the systemd service:
```text
systemctl --user enable onedrive
systemctl --user start onedrive