thomasvs - in flumotion/trunk: . doc/redhat

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Thu Mar 15 17:05:15 CET 2007


Author: thomasvs
Date: Thu Mar 15 17:05:13 2007
New Revision: 4656

Modified:
   flumotion/trunk/ChangeLog
   flumotion/trunk/doc/redhat/flumotion
Log:
	* doc/redhat/flumotion:
	  Pass status arguments through too.



Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog	(original)
+++ flumotion/trunk/ChangeLog	Thu Mar 15 17:05:13 2007
@@ -1,5 +1,10 @@
 2007-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* doc/redhat/flumotion:
+	  Pass status arguments through too.
+
+2007-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* flumotion/service/service.py:
 	  A .pid file could be empty or contain garbage.  Clean it up in
 	  that case.

Modified: flumotion/trunk/doc/redhat/flumotion
==============================================================================
--- flumotion/trunk/doc/redhat/flumotion	(original)
+++ flumotion/trunk/doc/redhat/flumotion	Thu Mar 15 17:05:13 2007
@@ -108,9 +108,25 @@
 
 status() {
         touch_logfile
+	if test "x$*" != "x"
+	then
+		statusone $*
+		return $?
+	fi
 	$prog status
 }
 
+statusone() {
+	type=$1
+	name=$2
+
+	touch_logfile
+
+	$prog status $type $name
+	RETVAL=$?
+	return $RETVAL
+}
+
 clean() {
         touch_logfile
 	$prog clean
@@ -137,7 +153,8 @@
 	start $*
 	;;
   status)
-        status
+	shift
+	status $*
 	;;
   clean)
         clean


More information about the flumotion-commit mailing list