Package: mysql-proxy
Version: 0.8.0-1
Tags: patch

The DAEMON=".." line in /etc/init.d/mysql-proxy refers to
/usr/sbin/mysql-proxy and tests whether this file exists before trying
to continue.

However, the mysql-proxy binary is being installed to
/usr/bin/mysql-proxy, making the daemon "impossible" to start.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org
       `-
diff -urNd mysql-proxy-0.8.0.orig/debian/init mysql-proxy-0.8.0/debian/init
--- mysql-proxy-0.8.0.orig/debian/init  2010-04-19 16:43:53.000000000 +0100
+++ mysql-proxy-0.8.0/debian/init       2010-04-19 16:44:02.000000000 +0100
@@ -12,7 +12,7 @@
 PATH=/bin:/usr/bin:/sbin:/usr/sbin
 LUA_PATH="/usr/share/mysql-proxy/?.lua"
 
-DAEMON="/usr/sbin/mysql-proxy"
+DAEMON="/usr/bin/mysql-proxy"
 PIDFILE="/var/run/mysql-proxy.pid"
 
 test -f $DAEMON || exit 0

Attachment: signature.asc
Description: PGP signature

Reply via email to