Hi,

 

In my application I am spawning httpd.exe from the parent process. 

 

My requirement is that:

 

1.      Whenever the parent process is getting killed, it should also kill
the Apache web server and then go down.

This I am able to do successfully.

 

2.      In the Abnormal termination of the parent process. The Apache should
keep looking for its parent process. If the parent process is not present 

       then the Apache web server should also kill itself.

 

How can I implement the 2nd point?

 

Please guide.

 

 

 

Thanks and Regards,

Ashwani Sharma

Mob: 09916454843

Off: +91-80-26265053

 



DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. Before opening attachments please check them for viruses and 
defects. MindTree Consulting Limited (MindTree) will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. If you have received this message by mistake please notify 
the sender by return  e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.Please note that e-mails are susceptible to change and 
MindTree shall not be liable for any improper, untimely or incomplete 
transmission.
E-mail may contain viruses. Before opening attachments please check them for 
viruses and defects. While MindTree Consulting Limited (MindTree) has put in 
place checks to minimize the risks, MindTree will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside. 

Reply via email to