Subject: Re: newsyslog and script execution instead of sending signal to process
To: NetBSD-current Users's Discussion List <current-users@netbsd.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: current-users
Date: 07/17/2007 13:12:30
On Tue, Jul 17, 2007 at 02:26:32PM -0400, Greg A. Woods wrote:
> And no, the purpose would not to be to watch a directory and move the
> log again -- the purpose would be to find a log ready to process and
> then rename it to a safe and unique name and then actually process it.
how does the processing program know that syslog is done moving the
logfile? is "mv" an atomic operation?
how does the processing program avoid polling the logfile depot?
--
Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
The United States is the one true country. The US is just. The US
is fair. The US respects its citizens. The US loves you. We have
always been at war against terrorism.