packages: lighttpd/lighttpd.init, lighttpd/lighttpd.spec - add show-config ...

glen glen at pld-linux.org
Tue Aug 9 12:38:13 CEST 2011


Author: glen                         Date: Tue Aug  9 10:38:13 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add show-config target to initscript (shows parsed lighttpd.conf)

---- Files affected:
packages/lighttpd:
   lighttpd.init (1.17 -> 1.18) , lighttpd.spec (1.346 -> 1.347) 

---- Diffs:

================================================================
Index: packages/lighttpd/lighttpd.init
diff -u packages/lighttpd/lighttpd.init:1.17 packages/lighttpd/lighttpd.init:1.18
--- packages/lighttpd/lighttpd.init:1.17	Sun Jan 10 19:30:13 2010
+++ packages/lighttpd/lighttpd.init	Tue Aug  9 12:38:08 2011
@@ -192,6 +192,9 @@
   checkconfig|configtest)
 	checkconfig 1
 	;;
+  show-config)
+	env SHELL=/bin/sh lighttpd -p -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS
+	;;
   status)
 	if is_yes "${LIGHT_ANGEL}"; then
 		status lighttpd-angel || RETVAL=$?
@@ -199,7 +202,7 @@
 	status lighttpd || RETVAL=$?
 	;;
   *)
-	msg_usage "$0 {start|stop|restart|reload|force-reload|graceful|configtest|flush-logs|status}"
+	msg_usage "$0 {start|stop|restart|reload|force-reload|graceful|configtest|flush-logs|show-config|status}"
 	exit 3
 	;;
 esac

================================================================
Index: packages/lighttpd/lighttpd.spec
diff -u packages/lighttpd/lighttpd.spec:1.346 packages/lighttpd/lighttpd.spec:1.347
--- packages/lighttpd/lighttpd.spec:1.346	Mon Jul  4 10:32:25 2011
+++ packages/lighttpd/lighttpd.spec	Tue Aug  9 12:38:08 2011
@@ -30,7 +30,7 @@
 Summary(pl.UTF-8):	Szybki i lekki serwer HTTP
 Name:		lighttpd
 Version:	1.4.29
-Release:	1
+Release:	2
 License:	BSD
 Group:		Networking/Daemons/HTTP
 Source0:	http://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.bz2
@@ -1316,6 +1316,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.347  2011/08/09 10:38:08  glen
+- add show-config target to initscript (shows parsed lighttpd.conf)
+
 Revision 1.346  2011/07/04 08:32:25  glen
 - up to 1.4.29
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lighttpd/lighttpd.init?r1=1.17&r2=1.18&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lighttpd/lighttpd.spec?r1=1.346&r2=1.347&f=u



More information about the pld-cvs-commit mailing list