From 12e341fe73eac2612c70b9ca1bf5c24d5e4fb0dd Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 18 Aug 2022 11:04:13 +0200 Subject: [PATCH] doc: script actions *must terminate* or they will be killed Signed-off-by: Joachim Wiberg --- doc/config.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/config.md b/doc/config.md index dea907c2..52ec9f6e 100644 --- a/doc/config.md +++ b/doc/config.md @@ -484,8 +484,9 @@ with an additional set of environment variables: the program, if it exited normally, or the signal name (`HUP`, `TERM`, etc.) if it exited due to signal -The scripts have a default execution time of 3 seconds before they are -SIGKILLed, this can be adjusted using the above `kill:SEC` syntax. +These script actions *must terminate*, so they have a default execution +time of 3 seconds before they are SIGKILLed, this can be adjusted using +the above `kill:SEC` syntax. > **Note:** the `pre:script` _must_ be idempotent, because a service > can transition between READY and HALTED states any number