From be1905f1144db47eb4aa7ad27e9166e3f73bdafa Mon Sep 17 00:00:00 2001 From: zhouyh Date: Fri, 13 Sep 2024 11:45:39 +0800 Subject: [PATCH] fix: add rpc_listen_port to obproxy startup script (#45) --- obproxy-ce/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obproxy-ce/start.sh b/obproxy-ce/start.sh index 235f13e..feffc6d 100755 --- a/obproxy-ce/start.sh +++ b/obproxy-ce/start.sh @@ -45,10 +45,10 @@ echo "$opts" if [ ! -z $CONFIG_URL ]; then echo "use config server" - cd /home/admin/obproxy && /home/admin/obproxy/bin/obproxy -p 2883 -l 2884 -n ${APP_NAME} -o observer_sys_password=${PROXYRO_PASSWORD_HASH},obproxy_config_server_url="${CONFIG_URL}",$opts --nodaemon + cd /home/admin/obproxy && /home/admin/obproxy/bin/obproxy -p 2883 -l 2884 -s 2885 -n ${APP_NAME} -o observer_sys_password=${PROXYRO_PASSWORD_HASH},obproxy_config_server_url="${CONFIG_URL}",$opts --nodaemon elif [ ! -z $RS_LIST ]; then echo "use rslist" - cd /home/admin/obproxy && /home/admin/obproxy/bin/obproxy -p 2883 -l 2884 -n ${APP_NAME} -c ${OB_CLUSTER} -r "${RS_LIST}" -o observer_sys_password=${PROXYRO_PASSWORD_HASH},$opts --nodaemon + cd /home/admin/obproxy && /home/admin/obproxy/bin/obproxy -p 2883 -l 2884 -s 2885 -n ${APP_NAME} -c ${OB_CLUSTER} -r "${RS_LIST}" -o observer_sys_password=${PROXYRO_PASSWORD_HASH},$opts --nodaemon else echo "no config server or rs list" exit 1