I did reinstall the HUP signal handler at the head of my script.
I think the line exec "$exeFile"; in relaunch subroutine should execute the whole script again, and also should have execute the $SIG{HUP} = \&doSigHup; at the head of the script. This line will reinstall the HUP signal handler.
In reply to Re^2: Why this daemon can only receive the HUP signal no more than one time?
by sunshine_august
in thread Why this daemon can only receive the HUP signal no more than one time?
by sunshine_august
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |