www/apache2 rc startup script

Jean-Baptiste Quenot jb.quenot at caraldi.com
Thu Dec 16 02:33:22 PST 2004


* Clement Laforet:

> On Thu, 16 Dec 2004 10:25:09 +0100 Jean-Baptiste Quenot wrote:
>
> > There  is a  problem with  the Apache  2 port:  the rc  script
> > in  $PREFIX/etc/rc.d does  not  source the  envvars stored  in
> > $PREFIX/sbin.  When Apache is run with apachectl(1), this file
> > is sourced,  but when  Apache is started  with the  rc script,
> > apachectl is not invoked thus envvars is not sourced.
>
> Please read the ${PREFIX}/etc/rc.d/apache2.sh script. envvars is
> "sourced" in apache2_precmd()

OK I upgraded from 2.0.50 to latest, and you're right, it's there.
Wonderful!

But  sadly,  my envvars  script  has  been overwritten  as  result
of  the  upgrade.   Why   don't  you  preserve  envvars?   There's
already envvars-std that provides  default values...  You may copy
envvars-std to envvars only if it is missing.

Best regards,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


More information about the freebsd-ports mailing list