right before (or in) the call to &restart_daemon, things might work for you (at least they did in a stripped down version of your code.)$server = undef;
In reply to Re^2: My daemon will not restart
by pc88mxer
in thread My daemon will not restart
by graq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |