SOURCES: apache1.init - add configtest target

glen glen at pld-linux.org
Tue Nov 29 00:05:20 CET 2005


Author: glen                         Date: Mon Nov 28 23:05:20 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add configtest target

---- Files affected:
SOURCES:
   apache1.init (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SOURCES/apache1.init
diff -u SOURCES/apache1.init:1.16 SOURCES/apache1.init:1.17
--- SOURCES/apache1.init:1.16	Wed Oct 19 16:52:51 2005
+++ SOURCES/apache1.init	Tue Nov 29 00:05:15 2005
@@ -111,8 +111,11 @@
 		RETVAL=7
 	fi
 	;;
+  configtest)
+	apache -t
+	;;
   *)
-	msg_usage "$0 {start|stop|restart|reload|force-reload|graceful|status}"
+	msg_usage "$0 {start|stop|restart|reload|force-reload|graceful|configtest|status}"
 	exit 3
 	;;
 esac
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/apache1.init?r1=1.16&r2=1.17&f=u




More information about the pld-cvs-commit mailing list