Package: maatkit
Version: 7540-1
Severity: wishlist
Tags: patch

Here is a patch to add support for the "status" action to the init.d
script of mk-slave-delay.
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+maatkit (7540-1.1) UNRELEASED; urgency=low
+
+  * Added support for "status" action to init.d script
+
+ -- Peter Eisentraut <pet...@debian.org>  Sun, 18 Dec 2011 08:34:48 +0200
+
 maatkit (7540-1) unstable; urgency=low
 
   * New upstream release (7540). (Closes: #629826)
--- a/debian/maatkit.mk-slave-delay.init.d
+++ b/debian/maatkit.mk-slave-delay.init.d
@@ -108,6 +108,9 @@
 		2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
 	esac
 	;;
+  status)
+	status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+	;;
   #reload|force-reload)
 	#
 	# If do_reload() is not implemented then leave this commented out

Reply via email to