Add k3s-agent to Restarting K3s section

- Mentions commands for both systemd and OpenRC for restarting the k3s-agent service
- Closes https://github.com/rancher/k3s/issues/1557
This commit is contained in:
David Nuzik
2020-07-27 16:16:57 -07:00
committed by Catherine Luse
parent e609999baa
commit 81023afee0
+18 -3
View File
@@ -32,13 +32,28 @@ Or to manually upgrade K3s:
### Restarting K3s ### Restarting K3s
Restarting K3s is supported by the installation script for systemd and openrc. Restarting K3s is supported by the installation script for systemd and OpenRC.
To restart manually for systemd use:
**systemd**
To restart servers manually:
```sh ```sh
sudo systemctl restart k3s sudo systemctl restart k3s
``` ```
To restart manually for openrc use: To restart agents manually:
```sh
sudo systemctl restart k3s-agent
```
**OpenRC**
To restart servers manually:
```sh ```sh
sudo service k3s restart sudo service k3s restart
``` ```
To restart agents mantually:
```sh
sudo service k3s-agent restart
```