mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-08 00:42:13 +02:00
Update USAGE.md
* Update 'root' systemd details
This commit is contained in:
parent
ee2da78446
commit
69d4a64456
|
@ -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.
|
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)
|
### 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
|
```text
|
||||||
systemctl --user enable onedrive
|
systemctl --user enable onedrive
|
||||||
systemctl --user start onedrive
|
systemctl --user start onedrive
|
||||||
|
|
Loading…
Reference in a new issue