mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
Optimize script logs
This commit is contained in:
parent
ea6806f1c6
commit
f3142535b3
@ -427,8 +427,6 @@ openim::util::check_process_names() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Print information
|
# Print information
|
||||||
if [[ ${#not_started[@]} -ne 0 ]]; then
|
if [[ ${#not_started[@]} -ne 0 ]]; then
|
||||||
|
|||||||
@ -37,7 +37,7 @@ function execute_start_scripts() {
|
|||||||
|
|
||||||
# Check if the script file exists and is executable.
|
# Check if the script file exists and is executable.
|
||||||
if [[ -x "$script_path" ]]; then
|
if [[ -x "$script_path" ]]; then
|
||||||
openim::log::info "Starting script: ${script_path##*/}" # Log the script name.
|
openim::log::print_blue "Starting script: ${script_path##*/}" # Log the script name.
|
||||||
|
|
||||||
# Execute the script with the constructed argument.
|
# Execute the script with the constructed argument.
|
||||||
result=$("$script_path" "$arg")
|
result=$("$script_path" "$arg")
|
||||||
@ -69,7 +69,7 @@ fi
|
|||||||
|
|
||||||
"${OPENIM_ROOT}"/scripts/init-config.sh --skip
|
"${OPENIM_ROOT}"/scripts/init-config.sh --skip
|
||||||
|
|
||||||
openim::log::print_blue "Execute the following script in sequence: ${OPENIM_SERVER_SCRIPTARIES[@]}"
|
#openim::log::print_blue "Execute the following script in sequence: ${OPENIM_SERVER_SCRIPTARIES[@]}"
|
||||||
|
|
||||||
|
|
||||||
# TODO Prelaunch tools, simple for now, can abstract functions later
|
# TODO Prelaunch tools, simple for now, can abstract functions later
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user