mirror of
https://github.com/troglobit/finit.git
synced 2026-10-31 13:00:32 +00:00
doc: script actions *must terminate* or they will be killed
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
9be3c4cb9a
commit
12e341fe73
1 file changed
+3
-2
+3
-2
@@ -484,8 +484,9 @@ with an additional set of environment variables:
|
|||||||
the program, if it exited normally, or the signal name (`HUP`,
|
the program, if it exited normally, or the signal name (`HUP`,
|
||||||
`TERM`, etc.) if it exited due to signal
|
`TERM`, etc.) if it exited due to signal
|
||||||
|
|
||||||
The scripts have a default execution time of 3 seconds before they are
|
These script actions *must terminate*, so they have a default execution
|
||||||
SIGKILLed, this can be adjusted using the above `kill:SEC` syntax.
|
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
|
> **Note:** the `pre:script` _must_ be idempotent, because a service
|
||||||
> can transition between READY and HALTED states any number
|
> can transition between READY and HALTED states any number
|
||||||
|
|||||||
Reference in new issue
Block a user