View | Details | Raw Unified | Return to bug 136028
Collapse All | Expand All

(-)mysql-proxy/files/mysql-proxy.sh.in (-1 / +6 lines)
Lines 40-48 Link Here
40
: ${mysql_proxy_backend_addresses="127.0.0.1:3306"}
40
: ${mysql_proxy_backend_addresses="127.0.0.1:3306"}
41
: ${mysql_proxy_pid_file="/var/run/mysql-proxy.pid"}
41
: ${mysql_proxy_pid_file="/var/run/mysql-proxy.pid"}
42
42
43
proxy_backend_addresses=""
44
for addr in ${mysql_proxy_backend_addresses}; do
45
	proxy_backend_addresses="${proxy_backend_addresses} --proxy-backend-addresses=${addr}"
46
done
47
43
pidfile="${mysql_proxy_pid_file}"
48
pidfile="${mysql_proxy_pid_file}"
44
command=%%PREFIX%%/sbin/mysql-proxy
49
command=%%PREFIX%%/sbin/mysql-proxy
45
command_args="--admin-address=${mysql_proxy_admin_address} --proxy-address=${mysql_proxy_address} --proxy-backend-addresses=${mysql_proxy_backend_addresses} ${mysql_proxy_args} --daemon --pid-file=${mysql_proxy_pid_file}"
50
command_args="--admin-address=${mysql_proxy_admin_address} --proxy-address=${mysql_proxy_address} ${proxy_backend_addresses} ${mysql_proxy_args} --daemon --pid-file=${mysql_proxy_pid_file}"
46
procname=%%PREFIX%%/sbin/mysql-proxy
51
procname=%%PREFIX%%/sbin/mysql-proxy
47
52
48
run_rc_command "$1"
53
run_rc_command "$1"

Return to bug 136028