Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Daemon module stop working 5.8.?

by sth (Priest)
on Apr 29, 2004 at 21:07 UTC ( #349273=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # signal handler for child die events
    $SIG{TERM} = $SIG{INT} = \&do_term;
    ...
        }
    
    } continue { $connection->close; }
    
  2. or download this
    sub become_daemon {
      croak "Can't fork" unless defined (my $child = fork);
    ...
      delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
      $SIG{CHLD} = \&reap_child;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://349273]
Approved by kvale
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2018-01-19 09:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (216 votes). Check out past polls.

    Notices?