From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/571 Path: main.gmane.org!not-for-mail From: Charlie Brady Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: [runit/svlogd] RFE: periodic log-rotation; filter-malfunction Date: Thu, 2 Sep 2004 15:53:26 -0400 (EDT) Message-ID: References: <20040902194813.8878.qmail@892d5ec05c70b4.315fe32.mid.smarden.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1094155731 10798 80.91.224.253 (2 Sep 2004 20:08:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2004 20:08:51 +0000 (UTC) Original-X-From: supervision-return-809-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Sep 02 22:08:24 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1C2xeT-0008Sh-00 for ; Thu, 02 Sep 2004 21:53:45 +0200 Original-Received: (qmail 20659 invoked by uid 76); 2 Sep 2004 19:54:07 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 20653 invoked from network); 2 Sep 2004 19:54:07 -0000 X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com Original-To: supervision@list.skarnet.org In-Reply-To: <20040902194813.8878.qmail@892d5ec05c70b4.315fe32.mid.smarden.org> Xref: main.gmane.org gmane.comp.sysutils.supervision.general:571 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:571 On Thu, 2 Sep 2004, Gerrit Pape wrote: > > Would it be possible to add another option (e.g. 'a') which > > sends SIGALRM at seconds after the last logrotation? > > I'll have to think about it, in the meantime you could setup a separate > service doing this work, e.g.: > > /var/service/socklogrotate/run: > #!/bin/sh > runsvctrl alarm /var/service/socklog > exec sleep This would appear to perfectly satisfy the requirement. That suggests to me that adding the functionality to socklog would be bloat. --- Charlie