mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-26 10:32:16 +02:00
Fix --display-config after http/2 change (#2028)
* Fix --display-config after http/2 change * Update advanced-usage.md
This commit is contained in:
parent
0ab2955bd7
commit
3591eededc
|
@ -114,6 +114,13 @@ ExecStart=/usr/local/bin/onedrive --monitor --confdir="/home/myusername/.config/
|
||||||
```
|
```
|
||||||
|
|
||||||
Then you can safely run these commands:
|
Then you can safely run these commands:
|
||||||
|
#### Custom systemd service on Red Hat Enterprise Linux, CentOS Linux
|
||||||
|
```text
|
||||||
|
systemctl enable onedrive-my-new-config
|
||||||
|
systemctl start onedrive-my-new-config
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Custom systemd service on Arch, Ubuntu, Debian, OpenSuSE, Fedora
|
||||||
```text
|
```text
|
||||||
systemctl --user enable onedrive-my-new-config
|
systemctl --user enable onedrive-my-new-config
|
||||||
systemctl --user start onedrive-my-new-config
|
systemctl --user start onedrive-my-new-config
|
||||||
|
@ -124,6 +131,11 @@ systemctl --user enable onedrive-my-new-config@myusername.service
|
||||||
systemctl --user start onedrive-my-new-config@myusername.service
|
systemctl --user start onedrive-my-new-config@myusername.service
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Viewing systemd logs for the custom service
|
||||||
|
```text
|
||||||
|
journalctl --unit=onedrive-my-new-config -f
|
||||||
|
```
|
||||||
|
|
||||||
Repeat these steps for each OneDrive new account that you wish to use.
|
Repeat these steps for each OneDrive new account that you wish to use.
|
||||||
|
|
||||||
## Configuring the client to use multiple OneDrive accounts / configurations using Docker
|
## Configuring the client to use multiple OneDrive accounts / configurations using Docker
|
||||||
|
|
|
@ -679,7 +679,7 @@ int main(string[] args)
|
||||||
writeln("Config option 'azure_ad_endpoint' = ", cfg.getValueString("azure_ad_endpoint"));
|
writeln("Config option 'azure_ad_endpoint' = ", cfg.getValueString("azure_ad_endpoint"));
|
||||||
writeln("Config option 'azure_tenant_id' = ", cfg.getValueString("azure_tenant_id"));
|
writeln("Config option 'azure_tenant_id' = ", cfg.getValueString("azure_tenant_id"));
|
||||||
writeln("Config option 'user_agent' = ", cfg.getValueString("user_agent"));
|
writeln("Config option 'user_agent' = ", cfg.getValueString("user_agent"));
|
||||||
writeln("Config option 'force_http_2' = ", cfg.getValueBool("force_http_2"));
|
writeln("Config option 'force_http_11' = ", cfg.getValueBool("force_http_11"));
|
||||||
writeln("Config option 'debug_https' = ", cfg.getValueBool("debug_https"));
|
writeln("Config option 'debug_https' = ", cfg.getValueBool("debug_https"));
|
||||||
writeln("Config option 'rate_limit' = ", cfg.getValueLong("rate_limit"));
|
writeln("Config option 'rate_limit' = ", cfg.getValueLong("rate_limit"));
|
||||||
writeln("Config option 'operation_timeout' = ", cfg.getValueLong("operation_timeout"));
|
writeln("Config option 'operation_timeout' = ", cfg.getValueLong("operation_timeout"));
|
||||||
|
|
Loading…
Reference in a new issue