Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting
--- apache2.orig	2007-08-21 09:33:52.000000000 -0400
+++ apache2	2007-08-21 09:36:37.000000000 -0400
@@ -29,7 +29,6 @@
         exit 0;
 fi
 
-APACHE2="$ENV /usr/sbin/apache2"
 APACHE2CTL="$ENV /usr/sbin/apache2ctl"
 
 pidof_apache() {
@@ -64,9 +63,9 @@
 }
 
 apache_stop() {
-	if `apache2 -t > /dev/null 2>&1`; then
+	if `$APACHE2CTL configtest > /dev/null 2>&1`; then
 		# if the config is ok than we just stop normaly
-		$APACHE2 -k stop
+		$APACHE2CTL stop
 	else
 		# if we are here something is broken and we need to try
 		# to exit as nice and clean as possible

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library