> -----Original Message-----
> From: opendkim-dev-bounce_at_lists.opendkim.org [mailto:opendkim-dev-bounce_at_lists.opendkim.org] On Behalf Of Todd Lyons
> Sent: Thursday, June 09, 2011 11:47 AM
> To: opendkim-dev_at_lists.opendkim.org
> Subject: init script
>
> Per the recent redhat init script changes, I'm not comfortable with
> the init script figuring out where the pid file is supposed to be.
> Since this is a RedHat/CentOS system, doing things in the init script
> should be done the RedHat way.
>
> Option 1:
> On RH, /var/run is the designated place for pid files (postfix being
> the one exception, it keeps its pid files in /var/spool/postfix).
> Just hardcode it everywhere to /var/run/opendkim/opendkim.pid if
> opendkim writes it as a regular user, or /var/run/opendkim.pid if the
> init script writes it (because init script running as root can write
> there).
I think I'm inclined to revert to this approach given the two options, if consensus agrees with your position. We would just use the location provided by autoconf and be done with it; if the sysadmin sets a different value in opendkim.conf, he/she can edit the script as well.
Any other opinions?
Received on Thu Jun 09 2011 - 20:17:04 PST
This archive was generated by hypermail 2.3.0
: Mon Oct 29 2012 - 23:33:10 PST