docs: web_api: update allowed system services
This commit is contained in:
parent
4806ffd2ae
commit
621739bb2b
|
@ -1165,9 +1165,18 @@ This request will not return. The machine will reboot
|
||||||
and the socket connection will drop.
|
and the socket connection will drop.
|
||||||
|
|
||||||
#### Restart a system service
|
#### Restart a system service
|
||||||
Restarts a system service via `sudo systemctl restart {name}`. Currently
|
Uses: `sudo systemctl restart {name}`
|
||||||
the `moonraker`, `klipper`, `MoonCord`, `KlipperScreen` and `webcamd`
|
|
||||||
services are supported.
|
Services allowed:
|
||||||
|
|
||||||
|
* `crowsnest`
|
||||||
|
* `MoonCord`
|
||||||
|
* `moonraker`
|
||||||
|
* `moonraker-telegram-bot`
|
||||||
|
* `klipper`
|
||||||
|
* `KlipperScreen`
|
||||||
|
* `sonar`
|
||||||
|
* `webcamd`
|
||||||
|
|
||||||
HTTP request:
|
HTTP request:
|
||||||
```http
|
```http
|
||||||
|
@ -1186,8 +1195,10 @@ JSON-RPC request:
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
`ok` when complete. Note that if `moonraker` is chosen, the return
|
`ok` when complete.
|
||||||
value will be sent prior to the service restart.
|
!!! note
|
||||||
|
If `moonraker` is chosen, the return
|
||||||
|
value will be sent prior to the service restart.
|
||||||
|
|
||||||
#### Stop a system service
|
#### Stop a system service
|
||||||
Stops a system service via `sudo systemctl stop <name>`. Currently
|
Stops a system service via `sudo systemctl stop <name>`. Currently
|
||||||
|
|
Loading…
Reference in New Issue