Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17145

Summary: Make apachectl read /etc/conf.d/apache
Product: Gentoo Linux Reporter: Shevek <gentoo>
Component: Current packagesAssignee: Donny Davies (RETIRED) <woodchip>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: 1.4_rc2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Shevek 2003-03-09 11:50:40 UTC
apachectl configtest is an invaluable tool. /etc/init.d/apache does not provide
this functionality. apachectl should be made to test apache appropriately by
reading the -D options from /etc/conf.d/apache.

Modify the /usr/sbin/apachectl script to read:

. /etc/conf.d/apache
HTTPD="/usr/sbin/apache ${APACHE_OPTS}"

instead of whatever it said before.

S.
Comment 1 SpanKY gentoo-dev 2003-03-09 12:22:06 UTC
this would also fix the `/etc/init.d/apache restart` problem 
Comment 2 Donny Davies (RETIRED) gentoo-dev 2003-03-09 14:23:05 UTC
lmao, what is the "restart' problem mr. smart ass?
Comment 3 Donny Davies (RETIRED) gentoo-dev 2003-03-09 14:23:38 UTC
get outta here.
Comment 4 SpanKY gentoo-dev 2003-03-09 18:05:18 UTC
ok, so the bug has been fixed :P

the old versions just ran `apachectl restart` so apache wouldnt recognize
conf.d settings
Comment 5 Donny Davies (RETIRED) gentoo-dev 2003-04-05 01:46:15 UTC
added this to apache2ctl, will do Apache-1 at next update, thanks.
Comment 6 Donny Davies (RETIRED) gentoo-dev 2003-07-11 01:06:09 UTC
should work with apache-1.3.27-apachectl.patch