mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
Script Refactoring
This commit is contained in:
parent
935996670e
commit
a7658e6389
@ -255,7 +255,8 @@ function openim::log::test_log() {
|
|||||||
# openim::log::test_log
|
# openim::log::test_log
|
||||||
|
|
||||||
function openim::log::print_blue() {
|
function openim::log::print_blue() {
|
||||||
echo -e "\033[0;36m$1\033[0m"
|
local current_time=$(date "+%Y-%m-%d %H:%M:%S %Z")
|
||||||
|
echo -e "\033[0;36m[$current_time] $1\033[0m"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@ fi
|
|||||||
|
|
||||||
# Call the main function
|
# Call the main function
|
||||||
result=$(start_binaries)
|
result=$(start_binaries)
|
||||||
openim::log::status "$result"
|
openim::log::print_blue "$result"
|
||||||
|
|
||||||
$OPENIM_SCRIPTS/check.sh
|
$OPENIM_SCRIPTS/check.sh
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user