On Fri, Aug 16, 2002 at 05:47:54PM +0530, Rahul Kumar wrote:
> > > b) any way to reconnect the original program to the log file.
> > 
> > Yes. Setup a handler for SIGUSR1 in your original program, and ask perl
> > to deliver SIGUSR1 to your program once its through.
> > 
> > Binand
> 
> Actually the original program is Apache, and i wouldnt want to touch it.
> Was hoping for an external Unix way. 

Well. The solution I suggested is what apache implements. a SIGHUP to a running
apache process causes it to reopen its log files or pipes (among other things).

Binand

-- 
If you found this helpful, please take some time off to rate it:
http://svcs.affero.net/rm.php?r=binand


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to