diff options
author | Steve Wills <swills@FreeBSD.org> | 2011-09-18 19:58:15 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2011-09-18 19:58:15 +0000 |
commit | a2930bd803139aa1c289241e51130d519ed8edc7 (patch) | |
tree | 50f3b5e62e8a366fdb671f92b85a4783cfd20663 /databases/mysql-proxy/files | |
parent | - Update to 0.45 (diff) |
- Update to 0.8.2
- Sort plist
- Adjust rc script to removal of admin plugin from default list of loaded
plugins. Note: If you wish to load it at startup, you can do so via
mysql_proxy_flags in rc.conf.
Changes: http://dev.mysql.com/doc/refman/5.5/en/mysql-proxy-news-0-8-2.html
Notes
Notes:
svn path=/head/; revision=281958
Diffstat (limited to 'databases/mysql-proxy/files')
-rw-r--r-- | databases/mysql-proxy/files/mysql-proxy.in | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/databases/mysql-proxy/files/mysql-proxy.in b/databases/mysql-proxy/files/mysql-proxy.in index c68b49d6268d..0a2f45be3dbf 100644 --- a/databases/mysql-proxy/files/mysql-proxy.in +++ b/databases/mysql-proxy/files/mysql-proxy.in @@ -11,8 +11,6 @@ # Add the following line to /etc/rc.conf to enable mysql-proxy: # mysql_proxy_enable (bool): Set to "NO" by default. # Set it to "YES" to enable MySQL Proxy. -# mysql_proxy_admin_address (str): Set to ":4041" by default. -# Set listening address:port of internal admin-server. # mysql_proxy_address (str): Set to ":4040" by default. # Set listening address:port of the proxy-server. # mysql_proxy_backend_addresses (str): Set to "127.0.0.1:3306" by default. @@ -35,7 +33,6 @@ rcvar=`set_rcvar` load_rc_config $name : ${mysql_proxy_enable="NO"} -: ${mysql_proxy_admin_address=":4041"} : ${mysql_proxy_address=":4040"} : ${mysql_proxy_backend_addresses="127.0.0.1:3306"} : ${mysql_proxy_pid_file="/var/run/mysql-proxy.pid"} @@ -46,9 +43,7 @@ done pidfile="${mysql_proxy_pid_file}" command=%%PREFIX%%/libexec/mysql-proxy -command_args="--admin-username=${mysql_proxy_admin_username} --admin-password=${mysql_proxy_admin_password} --admin-lua-script=${mysql_proxy_admin_lua_scripts} --admin-address=${mysql_proxy_admin_address} --proxy-address=${mysql_proxy_address} ${proxy_backend_addresses} ${mysql_proxy_args} --daemon --pid-file=${mysql_proxy_pid_file}" +command_args="--proxy-address=${mysql_proxy_address} ${proxy_backend_addresses} ${mysql_proxy_args} --daemon --pid-file=${mysql_proxy_pid_file}" procname=%%PREFIX%%/libexec/mysql-proxy run_rc_command "$1" - - |