http://www.perlmonks.org?node_id=1058570


in reply to Using SIGHUP to restart a daemon

Have a look at Re: Perl Daemons and SIGHUP. Probably it solves your problem.

Regards
McA

Replies are listed 'Best First'.
Re^2: Using SIGHUP to restart a daemon
by ibm1620 (Hermit) on Oct 17, 2013 at 16:23 UTC
    Thanks - here's a link to the solution: http://www.perlmonks.org/?node_id=440924 although as I noted in the thread, the author seems to have sometimes written SIGINT where he meant to write SIGHUP. If you copy the code and make that correction in two places, it works correctly.