Perhaps SIGHUP gets blocked in signal handler and it's stay blocked after exec. Can you check signal mask in the beginning of your script? sigprocmask(2) should be helpful.
In reply to Re: Why this daemon can only receive the HUP signal no more than one time?
by zwon
in thread Why this daemon can only receive the HUP signal no more than one time?
by sunshine_august
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |