www/apache2 rc startup script

Jean-Baptiste Quenot jb.quenot at caraldi.com
Thu Dec 16 01:25:05 PST 2004


Dear ports,

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.

Is  it possible  to  replace command="/usr/local/sbin/httpd"  with
command="/usr/local/sbin/apachectl" in the rc  script?  If not, is
it possible to source envvars?

I use the envvars script to set Apache's umask.

Thanks in advance,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


More information about the freebsd-ports mailing list