Re: rc.d/localpkg

From: Alex Kapranoff <kappa_at_rambler-co.ru>
Date: Tue, 27 Jul 2004 20:05:55 +0400
* David W. Chapman Jr. <dwcjr_at_inethouston.net> [July 27 2004, 19:20]:
> On Tue, Jul 27, 2004 at 09:49:16AM -0500, Scot Hetzel wrote:
> > On Tue, 27 Jul 2004 15:33:50 +0400, Alex Kapranoff <kappa_at_rambler-co.ru> wrote:
> > > 
> > Since the program postfix is not a shell script the recommendation is
> > to create a rcNG shell script to start and stop postfix, instead of
> > creating a link to the executeable.  This way you could pass flags to
> > postfix by defining postfix_flags in /etc/rc.conf, /etc/rc.conf.local,
> > or /etc/rc.conf.d/postfix.
> 
> postfix really would not need any flags passed to it at startup time 
> except "start" so this wouldn't be a problem either.

Except that sourcing binary executables into shell is
counter-productive whether there're additional vars or not :)

-- 
Alex Kapranoff.
Received on Tue Jul 27 2004 - 14:07:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC