Sync documentation and manual page

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-02-23 05:35:00 +01:00
1 parent b75b107d6d
commit 2c95f091ee
2 files changed
+42 -27

No files matched your search

+3 -2
View File
@@ -919,9 +919,10 @@ argument, but get a set of environment variables:
* `SERVICE_ID=1`
The `post:script` is called with an additional set of environment
variables:
variables. Yes, the text is correct, the naming was an accident:
- `EXIT_CODE=[exited,signal]`: set to one of `exited` or `signal`
- `EXIT_CODE=[exited,signal,crashed]`: normal exit, signaled, or
crashed
- `EXIT_STATUS=[num,SIGNAME]`: set to one of exit status code from
the program, if it exited normally, or the signal name (`HUP`,
`TERM`, etc.) if it exited due to signal