Date: Sat, 09 Jun 2012 21:33:05 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Sahil Tandon <sahil@tandon.net> Cc: freebsd-rc@freebsd.org Subject: Re: RESEND: [sahil@tandon.net: Request for review: mail/postfix-postfwd rc script] Message-ID: <4FD42381.5080504@FreeBSD.org> In-Reply-To: <20120610040657.GA1415@magic.hamla.org> References: <20120609010405.GA295@magic.hamla.org> <4FD38ED0.7070803@FreeBSD.org> <20120610040657.GA1415@magic.hamla.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/09/2012 21:06, Sahil Tandon wrote:
>> 7. With pidfile= the check command you added should not be necessary,
>> 'service postfwd status' is what you want instead.
>
> That does not work, because of the peculiarities of this program:
> looking for its procname (with or without interpreter) is futile because
> the ps output shows '[perl5.10.1]' rather than something more useful. :(
Ah, it's that one ... no worries then.
>> Of course, none of this is tested, so you'll want to do that. :)
>> ...
>
> One thing I retained is start_precmd, which is needed because of an
> upstream bug (I've reported it) which causes the program to silently
> terminate if 'start' is issued when postfwd is already running! Let me
> know if there is a more suitable way to handle this until it is fixed
> upstream.
That actually shouldn't happen ...
service named start
named already running? (pid=843).
If you have pidfile defined properly the check you're using should be
handled by rc.subr already.
Doug
--
This .signature sanitized for your protection
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD42381.5080504>
