From 8a0f9b6af36a383e5441b56181ac6375bfbff4d6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Jan 2025 10:31:42 +0100 Subject: [PATCH] Add graceful-shutdown runner doc --- support/doc/tools.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/support/doc/tools.md b/support/doc/tools.md index f3c455fbbb3..42494c9bc74 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md @@ -359,6 +359,22 @@ sudo -u prunner peertube-runner list-registered ::: +### Graceful shutdown + +Ask the runner to shutdown when it has finished all of its current tasks: + +::: code-group + +```bash [Shell] +peertube-runner graceful-shutdown +``` + +```bash [Systemd] +sudo -u prunner peertube-runner graceful-shutdown +``` + +::: + ### Update the runner package You can check if there is a new runner version using: