mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 05:59:03 +00:00
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:
committed by
Catherine Luse
parent
e609999baa
commit
81023afee0
@@ -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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user