From: "Wayne Marshall" <wcm@guinix.com>
Cc: supervision@list.skarnet.org
Subject: Re: invoking ipsvd-cdb
Date: 20 Jan 2006 09:03:05 -0800 [thread overview]
Message-ID: <20060120090305.4d956887@alloy.copperisle.com> (raw)
In-Reply-To: <20060120054827.GD13229@sta.duo>
On Fri, 20 Jan 2006 00:48:28 -0500
"George Georgalis" <george@galis.org> wrote:
>
> >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.
>
Yes, the slackmatic runit packages all follow similar conventions and
all use the same simple "iprules-make" utility included with the
slackmatic ipsvd package. This utility can be run in the service
directory to update the cdb anytime without restarting the service.
Wayne
next prev parent reply other threads:[~2006-01-20 17:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-16 22:22 George Georgalis
2006-01-19 18:15 ` Wayne Marshall
2006-01-20 5:48 ` George Georgalis
2006-01-20 17:03 ` Wayne Marshall [this message]
[not found] <20060116223834.GD1074@sta.duo>
2006-01-16 22:47 ` George Georgalis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060120090305.4d956887@alloy.copperisle.com \
--to=wcm@guinix.com \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).