Discussion about this post

User's avatar
Oliver Ding's avatar

Hi @FUNC25 , great post! I wonder where are the SIGUPs come from for those daemon process to reload configs?

Expand full comment
Andrii's avatar

Hi @FUNC25

Thank you for a great post.

Just wanted to clarify that

> By default, the shell forwards the SIGHUP signal to all its child processes.

is true only for interactive shells, according to [1], so scripted shells will not inherit this behavior.

[1] - https://www.gnu.org/software/bash/manual/html_node/Signals.html#:~:text=Before%20exiting%2C%20an%20interactive%20shell%20resends%20the%20SIGHUP%20to%20all%20jobs%2C%20running%20or%20stopped

Expand full comment
2 more comments...

No posts