void-packages/srcpkgs/apache/patches/apachectl-confd.patch
Juan RP 501288745a Added apache-2.2.15 build template.
--HG--
extra : convert_revision : 6af8d5066efdc5af0f4e2dd7939b07f9a277d9c4
2010-04-30 16:27:07 +02:00

15 lines
572 B
Diff

--- support/apachectl.in.orig 2010-03-06 18:09:11.000000000 +0100
+++ support/apachectl.in 2010-03-06 18:12:31.000000000 +0100
@@ -56,6 +56,12 @@
# the URL to your server's mod_status status page. If you do not
# have one, then status and fullstatus will not work.
STATUSURL="http://localhost:@PORT@/server-status"
+
+# Source /etc/conf.d/apache for $HTTPD setting, etc.
+if [ -r /etc/conf.d/apache ]; then
+ . /etc/conf.d/apache
+fi
+
#
# Set this variable to a command that increases the maximum
# number of file descriptors allowed per child process. This is