Document zuul-executor graceful

This adds documentation for zuul-executor graceful. In the process we
tweak the docs for pause as well.

Change-Id: Ieec5740f9a3d1857036d5d6e2af7cb30f9d77f94
This commit is contained in:
Clark Boylan 2021-02-25 14:59:27 -08:00
parent c1cf77ebdb
commit 9070f59e9a
1 changed files with 6 additions and 3 deletions

View File

@ -883,9 +883,12 @@ To start the executor, run ``zuul-executor``.
There are several commands which can be run to control the executor's
behavior once it is running.
In order to stop the executor and under normal circumstances it is
best to pause and wait for all currently running jobs to finish
before stopping it. To do so run ``zuul-executor pause``.
To pause the executor and prevent it from running new jobs you can
run ``zuul-executor pause``.
To cause the executor to stop accepting new jobs and exit when all running
jobs have finished you can run ``zuul-executor graceful``. Under most
circumstances this will be the best way to stop Zuul.
To stop the executor immediately, run ``zuul-executor stop``. Jobs that were
running on the stopped executor will be rescheduled on other executors.