mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 20:34:18 +08:00
Optimizing scripts
This commit is contained in:
parent
e100661f6e
commit
1138e373ef
@ -103,7 +103,7 @@ function openim::tools::start_service() {
|
||||
|
||||
|
||||
# openim::log::info "cmd: $cmd"
|
||||
${cmd} > /dev/null
|
||||
${cmd}
|
||||
|
||||
|
||||
local status=$?
|
||||
@ -139,7 +139,7 @@ function openim::tools::pre-start() {
|
||||
}
|
||||
|
||||
function openim::tools::post-start() {
|
||||
openim::log::info "Post-start actions for OpenIM Tools..."
|
||||
#openim::log::info "Post-start actions for OpenIM Tools..."
|
||||
for tool in "${OPENIM_TOOLS_POST_START_NAME_LISTARIES[@]}"; do
|
||||
openim::log::info "Starting tool ${tool}..."
|
||||
openim::tools::start_service ${tool}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user