in reply to Why this daemon can only receive the HUP signal no more than one time?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why this daemon can only receive the HUP signal no more than one time?
by sunshine_august (Scribe) on Feb 24, 2009 at 07:26 UTC | |
by lifeboat (Initiate) on Apr 05, 2017 at 09:34 UTC | |
by Anonymous Monk on Apr 05, 2017 at 17:38 UTC |