Bug#349709: Support for custom arguments
I recently ran into this problem and made a very similar patch to
change the $HTTPD calls for start & configtest to include
$APACHE_ARGUMENTS (if it exists) so we can add a few needed defines
in /etc/apache2/envvars (e.g. -DTEST_SITE vs. -DPRODUCTION_SITE so we
can share a common Apache config file for our development and
production servers).
- a2old 2007-08-10 11:48:39.946307000 -0700
+++ /usr/sbin/apache2ctl 2007-08-10 11:48:09.000000000 -0700
@@ -77,7 +77,7 @@
case $ARGV in
start|stop|restart|graceful|graceful-stop)
- $HTTPD -k $ARGV
+ $HTTPD ${APACHE_ARGUMENTS:=} -k $ARGV
ERROR=$?
;;
startssl|sslstart|start-SSL)
@@ -87,7 +87,7 @@
ERROR=2
;;
configtest)
- $HTTPD -t
+ $HTTPD ${APACHE_ARGUMENTS:=} -t
ERROR=$?
;;
status)
--
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pkcs7-signature attachment: smime.p7s
Received on Fri Aug 10 14:59:45 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 07:57:07 EDT
|