Date: Thu, 16 Dec 2004 11:33:27 +0100 From: Jean-Baptiste Quenot <jb.quenot@caraldi.com> To: ports@freebsd.org Subject: Re: www/apache2 rc startup script Message-ID: <20041216103324.GC45781@vision.anyware> In-Reply-To: <20041216105427.594685df.clement@FreeBSD.org> References: <20041216092506.GA44964@vision.anyware> <20041216105427.594685df.clement@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041216103324.GC45781>