mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-14 17:13:33 +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 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user