looking in the perl cookbook I followed the example in making a server now I put in the daemon stuff so it will run on its own.
how do I kill it? from the wrapping code
heres what I have so far.....
sub signal_handler {
$time_to_die = 1;
}
$SIG{INT} = $SIG{TERM} = $SIG{HUP} =...
siberian,
thanks. I guess you use net::ping? or Net::Telnet with the deamon?. I am interested in your solution. If you have so code lying around for me to look at I would greatly appreciate it. Til then I'll see what I acn come up with.
jeff
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.