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-04-06 11:28:34 -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 is supported by the installation script for systemd and openrc.
To restart manually for systemd use:
Restarting K3s is supported by the installation script for systemd and OpenRC.
**systemd**
To restart servers manually:
```sh
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
sudo service k3s restart
```
To restart agents mantually:
```sh
sudo service k3s-agent restart
```