diff options
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" - - |