packages (DEVEL): mysql-proxy/mysql-proxy.init - mysql-proxy does not suppo...
pawelz
pawelz at pld-linux.org
Fri Jun 19 11:48:25 CEST 2009
Author: pawelz Date: Fri Jun 19 09:48:25 2009 GMT
Module: packages Tag: DEVEL
---- Log message:
- mysql-proxy does not support multiple listening addresses
---- Files affected:
packages/mysql-proxy:
mysql-proxy.init (1.7.2.1 -> 1.7.2.2)
---- Diffs:
================================================================
Index: packages/mysql-proxy/mysql-proxy.init
diff -u packages/mysql-proxy/mysql-proxy.init:1.7.2.1 packages/mysql-proxy/mysql-proxy.init:1.7.2.2
--- packages/mysql-proxy/mysql-proxy.init:1.7.2.1 Fri Jun 19 11:19:02 2009
+++ packages/mysql-proxy/mysql-proxy.init Fri Jun 19 11:48:20 2009
@@ -38,12 +38,12 @@
for addr in $PROXY_BACKEND_ADDRESSES; do
args="$args --proxy-backend-addresses=$addr"
done
- for addr in $PROXY_ADDRESS; do
- args="$args --proxy-addresses=$addr"
- done
- for addr in $ADMIN_ADDRESS; do
- args="$args --admin-addresses=$addr"
- done
+ if [ "$PROXY_ADDRESS" ]; then
+ args="$args --proxy-address=$PROXY_ADDRESS"
+ fi
+ if [ "$ADMIN_ADDRESS" ]; then
+ args="$args --admin-address=$ADMIN_ADDRESS"
+ fi
daemon --user mysqlproxy /usr/sbin/mysql-proxy --daemon --pid-file=/var/run/mysql-proxy/mysql-proxy.pid $args
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/mysql-proxy
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql-proxy/mysql-proxy.init?r1=1.7.2.1&r2=1.7.2.2&f=u
More information about the pld-cvs-commit
mailing list