Package: mysql-proxy
Version: 0.6.1-3
Severity: wishlist

this applies to debian lenny - reporting from an etch system!

patch:
--- mysql-proxy.dpkg    2008-11-14 15:26:39.000000000 +0100
+++ /etc/init.d/mysql-proxy     2008-11-14 15:41:53.000000000 +0100
@@ -34,6 +34,10 @@ case "$1" in
     start-stop-daemon --stop --quiet --retry 3 --exec $DAEMON --pidfile 
$PIDFILE
     log_end_msg $?
     ;;
+  status)
+    log_begin_msg "Checking MySQL Proxy daemon... "
+    status_of_proc -p $PIDFILE /usr/sbin/mysql-proxy mysql-proxy && exit 0 || 
exit $?
+    ;;
   restart|force-reload)
     log_begin_msg "Reloading MySQL Proxy daemon..."
     start-stop-daemon --stop --quiet --retry 3 --exec $DAEMON --pidfile 
$PIDFILE
@@ -41,7 +45,7 @@ case "$1" in
     log_end_msg $?
     ;;
   *)
-    log_success_msg "Usage: $0 {start|stop|restart|force-reload}"
+    log_success_msg "Usage: $0 {start|stop|status|restart|force-reload}"
     exit 1
 esac


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (700, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22.15-grsec2.1.11-vs2.2.0.5
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to