Optimizing scripts

pull/2100/head
skiffer-git 2 years ago
parent e100661f6e
commit 1138e373ef

@ -103,7 +103,7 @@ function openim::tools::start_service() {
# openim::log::info "cmd: $cmd" # openim::log::info "cmd: $cmd"
${cmd} > /dev/null ${cmd}
local status=$? local status=$?
@ -139,7 +139,7 @@ function openim::tools::pre-start() {
} }
function openim::tools::post-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 for tool in "${OPENIM_TOOLS_POST_START_NAME_LISTARIES[@]}"; do
openim::log::info "Starting tool ${tool}..." openim::log::info "Starting tool ${tool}..."
openim::tools::start_service ${tool} openim::tools::start_service ${tool}

Loading…
Cancel
Save