From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/572 Path: main.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: [runit/svlogd] RFE: periodic log-rotation; filter-malfunction Date: Thu, 2 Sep 2004 20:12:03 +0000 Message-ID: <20040902201205.10692.qmail@7d4e8b8d878ee6.315fe32.mid.smarden.org> 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 1094155920 11453 80.91.224.253 (2 Sep 2004 20:12:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2004 20:12:00 +0000 (UTC) Original-X-From: supervision-return-810-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Sep 02 22:11:44 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 1C2xvs-0001Op-00 for ; Thu, 02 Sep 2004 22:11:44 +0200 Original-Received: (qmail 20833 invoked by uid 76); 2 Sep 2004 20:12:05 -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 20828 invoked from network); 2 Sep 2004 20:12:05 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: Xref: main.gmane.org gmane.comp.sysutils.supervision.general:572 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:572 On Thu, Sep 02, 2004 at 03:53:26PM -0400, Charlie Brady wrote: > 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. To svlogd; yes, I tend to agree. But change the line above to runsvctrl alarm /var/service/socklog-unix/log Regards, Gerrit.