[Pkg-xmpp-commits] [SCM] Jabber MUC (Multi User Chat) branch, master, updated. 4c58bfc81ee5c55a96cbf52d160070ce687b61cb

W. van den Akker wvdakker at wilsoft.nl
Fri Jan 18 10:31:41 UTC 2013


The following commit has been merged in the master branch:
commit 1ec8831b976f5f560ce54173217445a88e6c0b3e
Author: W. van den Akker <wvdakker at wilsoft.nl>
Date:   Fri Jan 18 11:12:39 2013 +0100

    Added status option to service.

diff --git a/debian/changelog b/debian/changelog
index 9e783a2..6a5c007 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ jabber-muc (0.8-4) UNRELEASED; urgency=low
     - debian/rules: removed lintian-overrides copy operation.
   * debian/rules: include hardening options.
   * debian/control: added Vcs-git and Vcs-Browser tags.
+  * debian/component.d/60muc: added status option.
   * Bump standards version to 3.9.4.
 
  -- Willem van den Akker <wvdakker at wilsoft.nl>  Fri, 18 Jan 2013 10:03:25 +0100
diff --git a/debian/component.d/60muc b/debian/component.d/60muc
index d2b1ea9..7c0fa2d 100755
--- a/debian/component.d/60muc
+++ b/debian/component.d/60muc
@@ -36,6 +36,14 @@ case "$1" in
          --signal 15 --retry 3 --pidfile ${PIDFILE} \
          --exec ${COMMAND} || echo -n "<Failed>"
 	;;
+   status)
+      echo -n "${NAME}"
+      if [ `pidof ${COMMAND}` ]; then
+         echo " running"
+      else
+         echo " not running"
+      fi
+	;;
    restart)
       $0 stop
       sleep 1

-- 
Jabber MUC (Multi User Chat)



More information about the Pkg-xmpp-commits mailing list