Unblock signals for pre/post/ready/cleanup scripts

The service_fork() function blocks all signals for the new process, it
is up to the callee to call sig_unblock() before calling exec().

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-03-27 19:10:56 +01:00
1 parent 5e9591d0a8
commit ac4b9c2f93
2 files changed
+9

No files matched your search

+2
View File
@@ -20,6 +20,8 @@ All relevant changes are documented in this file.
the default `SIGTERM`
- Fix pre/post/ready/cleanup script execution if service has an
optional `env:file` (leading `-`)
- Fix blocked signals for pre/post/ready/cleanup scripts preventing
normal shutdown when a service/sysv is stopped in its setup state
[4.10][] - 2025-03-03