From 9d79673ceaf982d0c1bea177de36ba0ff9e43700 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Tue, 23 Aug 2022 15:23:02 +0200 Subject: [PATCH] Follow-up #278: update documentation for pre:script The pre:scripts no longer have to be idempotent. Signed-off-by: Joachim Wiberg --- doc/config.md | 4 ---- man/finit.conf.5 | 7 ------- 2 files changed, 11 deletions(-) diff --git a/doc/config.md b/doc/config.md index 52ec9f6e..09b9c26d 100644 --- a/doc/config.md +++ b/doc/config.md @@ -488,10 +488,6 @@ 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 -> of times before going to RUNNING. - ### Run-parts Scripts diff --git a/man/finit.conf.5 b/man/finit.conf.5 index 7ed8509c..161b8ff5 100644 --- a/man/finit.conf.5 +++ b/man/finit.conf.5 @@ -382,13 +382,6 @@ The scripts have a default execution time of 3 seconds before they are SIGKILLed, this can be adjusted using the .Cm kill:SEC modifier syntax. -.Pp -.Sy Note: -the -.Cm pre:script -.Em must -be idempotent, because a service can transition between READY and HALTED -states any number of times before going to RUNNING. .It Cm runparts Aq DIR Call .Xr run-parts 8