Help for this page
# POSIX unmasks the sigprocmask properly my $sigset = POSIX::SigSet->new(); ... print "got SIGHUP\n"; exec($SELF, @ARGV) or die "Couldn't restart: $!\n"; }