From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/989 Path: news.gmane.org!not-for-mail From: "George Georgalis" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: invoking ipsvd-cdb Date: Fri, 20 Jan 2006 00:48:28 -0500 Message-ID: <20060120054827.GD13229@sta.duo> References: <20060116222229.GA1074@sta.duo> <20060119101516.34c15c05@alloy.copperisle.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1137736121 10391 80.91.229.2 (20 Jan 2006 05:48:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2006 05:48:41 +0000 (UTC) Original-X-From: supervision-return-1225-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Jan 20 06:48:38 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1Ezp8U-0003TO-08 for gcsg-supervision@gmane.org; Fri, 20 Jan 2006 06:48:37 +0100 Original-Received: (qmail 28495 invoked by uid 76); 20 Jan 2006 05:48:53 -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 28490 invoked from network); 20 Jan 2006 05:48:52 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060119101516.34c15c05@alloy.copperisle.com> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:989 Archived-At: On Thu, Jan 19, 2006 at 10:15:16AM -0800, Wayne Marshall wrote: >On Mon, 16 Jan 2006 17:22:29 -0500 >"George Georgalis" wrote: > >> ipsvd-cdb(8) and ipsvd-instruct(6) have been helpful, but is there >> an example of a typical "dir" for ipsvd-cdb invocation? >> >> I'm moving from tcprules but not sure how to build the cdb files >> with ipsvd-cdb. >> > >There are a growing number of runit-based service definitions available >on the slackmatic website in the "guinix" repository: > > http://slackmatic.org/site.cgi?repoview=guinix interesting, saw a couple nice scripts. >Many of these have default "iprules" instructions set up in an >iprules sub-directory within the service directory. The run script >conventions used for these services make sure the rules are recompiled >each time the service is restarted. I try to avoid "helpers" like that. it's when the ip rules change that a new cdb should be generated... # cat /var/service/qmail-smtpd/peers.sh #!/bin/sh cd `dirname $0` && ipsvd-cdb peers.cdb peers.tmp peers that way whenever you've changed anything under ./peers you've nearly typed the command to update the cdb too. The other way, people are liable to restart services whenever they change a ip rule. // George -- George Georgalis, systems architect, administrator < http://galis.org/ cell:646-331-2027 mailto:george@galis.org