Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17145 - Make apachectl read /etc/conf.d/apache
Summary: Make apachectl read /etc/conf.d/apache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-09 11:50 UTC by Shevek
Modified: 2003-07-11 01:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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