|
|
|
@ -23,7 +23,7 @@ if [[ -z ${supported_architectures["$version-$architecture"]} ]]; then
|
|
|
|
|
echo "================> Unsupported architecture: $architecture or version: $version"
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
Server Start Time
|
|
|
|
|
|
|
|
|
|
echo "================> Architecture: $architecture"
|
|
|
|
|
|
|
|
|
|
# Set the BIN_DIR based on the architecture and version
|
|
|
|
@ -31,32 +31,31 @@ BIN_DIR=${supported_architectures["$version-$architecture"]}
|
|
|
|
|
|
|
|
|
|
echo "================> BIN_DIR: $OPENIM_ROOT/$BIN_DIR"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Don't put the space between "="
|
|
|
|
|
openim_msggateway="openim-msggateway"
|
|
|
|
|
msg_gateway_binary_root= $OPENIM_ROOT/$BIN_DIR/
|
|
|
|
|
msg_gateway_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
|
|
|
|
msg_gateway_source_root="../cmd/msggateway/"
|
|
|
|
|
|
|
|
|
|
msg_name="openim-rpc-msg"
|
|
|
|
|
msg_binary_root=$OPENIM_ROOT/$BIN_DIR
|
|
|
|
|
msg_source_root="../cmd/rpc/msg/"
|
|
|
|
|
msg_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
|
|
|
|
msg_source_root="../cmd/openim-rpc/msg/"
|
|
|
|
|
|
|
|
|
|
push_name="openim-push"
|
|
|
|
|
push_binary_root=$OPENIM_ROOT/$BIN_DIR
|
|
|
|
|
push_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
|
|
|
|
push_source_root="../cmd/push/"
|
|
|
|
|
|
|
|
|
|
openim_msgtransfer="openim-rpc-msg_transfer"
|
|
|
|
|
msg_transfer_binary_root=$OPENIM_ROOT/$BIN_DIR
|
|
|
|
|
msg_transfer_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
|
|
|
|
msg_transfer_source_root="../cmd/msgtransfer/"
|
|
|
|
|
msg_transfer_service_num=4
|
|
|
|
|
|
|
|
|
|
cron_task_name="openim-crontask"
|
|
|
|
|
cron_task_binary_root=$OPENIM_ROOT/$BIN_DIR
|
|
|
|
|
cron_task_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
|
|
|
|
cron_task_source_root="../cmd/crontask/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cmd_utils_name="openim_cmd_utils"
|
|
|
|
|
cmd_utils_binary_root=$OPENIM_ROOT/$BIN_DIR
|
|
|
|
|
cmd_utils_binary_root="$OPENIM_ROOT/$BIN_DIR"
|
|
|
|
|
cmd_utils_source_root="../cmd/cmduitls/"
|
|
|
|
|
|
|
|
|
|
# Global configuration file default dir
|
|
|
|
@ -67,13 +66,13 @@ service_source_root=(
|
|
|
|
|
# api service file
|
|
|
|
|
"../cmd/api/"
|
|
|
|
|
# rpc service file
|
|
|
|
|
"../cmd/rpc/user/"
|
|
|
|
|
"../cmd/rpc/friend/"
|
|
|
|
|
"../cmd/rpc/group/"
|
|
|
|
|
"../cmd/rpc/auth/"
|
|
|
|
|
"../cmd/rpc/conversation/"
|
|
|
|
|
"../cmd/rpc/third/"
|
|
|
|
|
"../cmd/crontask"
|
|
|
|
|
"../cmd/openim-rpc/openim-rpc-user/"
|
|
|
|
|
"../cmd/openim-rpc/openim-rpc-friend/"
|
|
|
|
|
"../cmd/openim-rpc/openim-rpc-group/"
|
|
|
|
|
"../cmd/openim-rpc/openim-rpc-auth/"
|
|
|
|
|
"../cmd/openim-rpc/openim-rpc-conversation/"
|
|
|
|
|
"../cmd/openim-rpc/openim-rpc-third/"
|
|
|
|
|
"../cmd/openim-crontask"
|
|
|
|
|
"${msg_gateway_source_root}"
|
|
|
|
|
"${msg_transfer_source_root}"
|
|
|
|
|
"${msg_source_root}"
|
|
|
|
|