Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keeping a child process alive thru a restart?

Status
Not open for further replies.

mikeettm

IS-IT--Management
May 7, 2002
1
US
Does anyone know a way that I can have a user initiate a child process that can survive a restart/shutdown of apache?

I tried having the CGI do a nohup (with trailing &) but when apache is shutdown, my program gets terminated as well.

Thanks for any insights!!

Mike K.
 
I don't know if this will work, but it might be a useful line of inquiry.

Create a cgi script that will run the app via atd.

I use that to restart my sshd on a server when I have to modify ssh's config file while I'm logged in via ssh. I set atd to restart the app in a minute or so then logout.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top