RESEND: [sahil@tandon.net: Request for review: mail/postfix-postfwd rc script]

Doug Barton dougb at FreeBSD.org
Sun Jun 10 04:33:05 UTC 2012


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




More information about the freebsd-rc mailing list