From 72ec9501b9acb315bd97a42f4cc2fe0dc3f94e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 14 Aug 2023 17:40:36 +0200 Subject: [PATCH] Website: add `restart_exit_code` to the worker config documentation --- .../content/usage/worker-configuration/_index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/project-website/content/usage/worker-configuration/_index.md b/web/project-website/content/usage/worker-configuration/_index.md index c79586e5..d42d4d82 100644 --- a/web/project-website/content/usage/worker-configuration/_index.md +++ b/web/project-website/content/usage/worker-configuration/_index.md @@ -11,6 +11,7 @@ This is an example of such a configuration file: ```yaml manager_url: http://flamenco.local:8080/ task_types: [blender, ffmpeg, file-management, misc] +restart_exit_code: 47 ``` - `manager_url`: The URL of the Manager to connect to. If the setting is blank @@ -20,9 +21,13 @@ task_types: [blender, ffmpeg, file-management, misc] determined by the [job compiler scripts][scripts]; the ones listed here are in use by the default scripts. These determine which kind of tasks this Worker will get. See [task types][task-types] for more info. +- `restart_exit_code`: Having this set to a non-zero value will mark this Worker + as 'restartable'. See [Shut Down & Restart Actions][restarting] for more + information. [scripts]: {{< ref "usage/job-types" >}} [task-types]: {{< ref "usage/job-types" >}}#task-types +[restarting]: {{< ref "usage/worker-actions" >}}#shut-down--restart-actions ## Worker Local Files