Hendrik Baecker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> [email protected] schrieb:
>> In my opinion ndo is totally missing a proper handling of itself and
>> its children. What you describe is just a designflaw in my eyes.
>>
> What I've described was a missing signalling to the childs, can't
> imagine how some system paths and files in there should help a program
> to communicate with his childs...
>
Feel free to rip the daemonize.c file from merlin. It does most of the
normal stuff and supports the -k flag to the program, to kill off a
running instance. Then it's just a rather simple matter of passing
SIGTERM to all children when caught.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]