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

nijel at users.alioth.debian.org nijel at users.alioth.debian.org
Wed May 9 11:50:59 UTC 2012


    Date: Wednesday, May 9, 2012 @ 11:50:58
  Author: nijel
Revision: 8651

Implement status command in init script.

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

Modified: packages/pyicqt/trunk/debian/changelog
===================================================================
--- packages/pyicqt/trunk/debian/changelog	2012-05-09 11:47:10 UTC (rev 8650)
+++ packages/pyicqt/trunk/debian/changelog	2012-05-09 11:50:58 UTC (rev 8651)
@@ -4,8 +4,9 @@
   * Avoid modification of files during build (Closes: #671542).
   * Bump standards to 3.9.3.
   * Use dh_python2.
+  * Implement status command in init script.
 
- -- Michal ÄŒihaÅ™ <nijel at debian.org>  Wed, 09 May 2012 13:46:37 +0200
+ -- Michal ÄŒihaÅ™ <nijel at debian.org>  Wed, 09 May 2012 13:50:55 +0200
 
 pyicqt (0.8.1.5-4) unstable; urgency=low
 

Modified: packages/pyicqt/trunk/debian/pyicqt.init
===================================================================
--- packages/pyicqt/trunk/debian/pyicqt.init	2012-05-09 11:47:10 UTC (rev 8650)
+++ packages/pyicqt/trunk/debian/pyicqt.init	2012-05-09 11:50:58 UTC (rev 8651)
@@ -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