From 81023afee0fafae2da4ef8ae40e54eb038e36c5a Mon Sep 17 00:00:00 2001 From: David Nuzik Date: Mon, 6 Apr 2020 11:28:34 -0700 Subject: [PATCH] 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 --- .../k3s/latest/en/upgrades/basic/_index.md | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/content/k3s/latest/en/upgrades/basic/_index.md b/content/k3s/latest/en/upgrades/basic/_index.md index 6311b045764..d0f1b8654c8 100644 --- a/content/k3s/latest/en/upgrades/basic/_index.md +++ b/content/k3s/latest/en/upgrades/basic/_index.md @@ -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 +```