Subject: Re: newsyslog and script execution instead of sending signal to process
To: NetBSD-current Users's Discussion List <current-users@netbsd.org>
From: Eric Haszlakiewicz <erh@nimenees.com>
List: current-users
Date: 07/15/2007 11:36:38
On Sat, Jul 14, 2007 at 02:56:47PM -0400, Greg A. Woods wrote:
> At Wed, 11 Jul 2007 20:39:42 +0200, Juraj Hercek wrote:
> Subject: newsyslog and script execution instead of sending signal to process
> >
> > Is there any plan to support command execution in NetBSD's newsyslog?
>
> I have plans for my version of newsyslog to support archival of logs
> into a specified directory, at which point there's really no need or
> purpose of having direct script execution from within newsyslog. In
eh? How do you figure? If you're using newsyslog to rotate the logs
for a program that needs a specialized restart procedure when the logs
are rotated, then just moving them to a separate directory isn't going
to do anything useful.
eric