Re: Bug in RedHat contrib init script

From: Daniel Black <daniel.subs_at_internode.on.net>
Date: Thu, 5 May 2011 10:14:13 +1000

On Thu, 5 May 2011 06:48:00 AM Murray S. Kucherawy wrote:
> > -----Original Message-----
> > From: opendkim-dev-bounce_at_lists.opendkim.org
> > [mailto:opendkim-dev-bounce_at_lists.opendkim.org] On Behalf Of Murray S.
> > Kucherawy Sent: Wednesday, May 04, 2011 8:12 AM
> > To: Daniel Black; opendkim-dev_at_lists.opendkim.org
> > Subject: RE: Bug in RedHat contrib init script
> >
> > > -----Original Message-----
> > > From: opendkim-dev-bounce_at_lists.opendkim.org [mailto:opendkim-dev-
> >
> > bounce_at_lists.opendkim.org] On Behalf Of Daniel Black
> >
> > > Sent: Wednesday, May 04, 2011 4:56 AM
> > > To: opendkim-dev_at_lists.opendkim.org
> > > Subject: Re: Bug in RedHat contrib init script
> > >
> > > I guess I just see using a spec file to install all the files and set
> > > the right permissions as the properway on a Redhat box to install
> > > stuff.
> > >
> > > Could make it a .in configure handled script and use _at_prefix@ for
> > > greater accurancy that changes with religious beliefs :-)
> >
> > That sounds like a decent thing to try. I'll give it a go for 2.4.0,
> > so we can exercise this during the betas which start in a few days.
>
> How's this look?
>
> -DAEMON=/usr/sbin/opendkim
> +DAEMON=_at_prefix@/sbin/opendkim
DAEMON=_at_sbindir@/opendkim
> PID_FILE=/var/run/opendkim/opendkim.pid
> -CONF_FILE=/etc/opendkim.conf
> +CONF_FILE=_at_prefix@/etc/opendkim.conf

CONF_FILE=_at_sysconfdir@/opendkim.conf

Though this should correspond to where opendkim looks for the default config
file.
Received on Thu May 05 2011 - 00:15:14 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:10 PST