[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lightweight DNS server for Spamikaze
On Tue, 9 Oct 2007 10:49:51 +1000
"Rob Wise" <rob@xxxxxxxx> wrote:
> On 09/10/2007, Martijn Lievaart <m@xxxxxxx> wrote:
> > On Fri, 2007-10-05 at 18:59 +0200, Martijn Lievaart wrote:
> > > Rik van Riel wrote:
>
> > > > Speaking of which, I wonder if we should move the configuration
> > > > to /etc/sysconfig/spamikaze (with /etc/spamikaze/config as
> > > > fall-back) so we better fit in with most Linux distributions...
> > > >
> > >
> > > Do more distros use this beside the RH derivatives?
> >
> > I thought about this, but /etc/sysconfig/ on RH contains information
> > used by the init scripts. Which is also what I used in my redhat
> > style init script. So I don't think this is a good
> > idea. /etc/spamikaze is much better in my eyes.
> >
>
> Don't forget about the FreeBSD users :) We still like to keep config
> files that aren't part of the base distribution in /usr/local/etc/.
> If we're going to move the etc location for some/all Linux
> distributions there should be check in the configure script to detect
> the OS and select a destination based on that.
Oh, I wasn't planning on moving the location permanently.
Just to add another search path for the config file to Spamikaze.pm,
so it can live where people expect the config file to be on more
systems.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan