[Python-apps-commits] r8664 - in packages/pyaimt/trunk/debian (changelog pyaimt.init)

nijel at users.alioth.debian.org nijel at users.alioth.debian.org
Thu May 10 07:07:11 UTC 2012


    Date: Thursday, May 10, 2012 @ 07:07:07
  Author: nijel
Revision: 8664

Init script now understands status command.

Modified:
  packages/pyaimt/trunk/debian/changelog
  packages/pyaimt/trunk/debian/pyaimt.init

Modified: packages/pyaimt/trunk/debian/changelog
===================================================================
--- packages/pyaimt/trunk/debian/changelog	2012-05-10 07:04:36 UTC (rev 8663)
+++ packages/pyaimt/trunk/debian/changelog	2012-05-10 07:07:07 UTC (rev 8664)
@@ -6,8 +6,9 @@
   * Remove extra file in clean (Closes: #671549).
   * Bump standards to 3.9.3.
   * Migrate to dh_python2.
+  * Init script now understands status command.
 
- -- Michal ÄŒihaÅ™ <nijel at debian.org>  Thu, 10 May 2012 09:02:39 +0200
+ -- Michal ÄŒihaÅ™ <nijel at debian.org>  Thu, 10 May 2012 09:07:02 +0200
 
 pyaimt (0.8.0.1-2) unstable; urgency=low
 

Modified: packages/pyaimt/trunk/debian/pyaimt.init
===================================================================
--- packages/pyaimt/trunk/debian/pyaimt.init	2012-05-10 07:04:36 UTC (rev 8663)
+++ packages/pyaimt/trunk/debian/pyaimt.init	2012-05-10 07:07:07 UTC (rev 8664)
@@ -57,6 +57,9 @@
 	$0 stop
 	$0 start
 	;;
+status)
+	status_of_proc -p $PIDFILE "$DAEMON" "$NAME" && exit 0 || exit $?
+	;;
 *)
 	echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2
 	exit 1




More information about the Python-apps-commits mailing list