mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-06 21:32:15 +08:00
Optimizing scripts
This commit is contained in:
parent
e6df33bff1
commit
dbb318d125
@ -74,7 +74,7 @@ openim::log::info "\n## Check all dependent components service ports"
|
|||||||
if grep -qE 'docker|kubepods' /proc/1/cgroup || [ -f /.dockerenv ]; then
|
if grep -qE 'docker|kubepods' /proc/1/cgroup || [ -f /.dockerenv ]; then
|
||||||
openim::color::echo ${COLOR_CYAN} "Environment in the interior of the container"
|
openim::color::echo ${COLOR_CYAN} "Environment in the interior of the container"
|
||||||
else
|
else
|
||||||
openim::color::echo ${COLOR_CYAN} "The environment is outside the container"
|
openim::color::echo ${COLOR_CYAN}"The environment is outside the container"
|
||||||
openim::util::check_ports ${OPENIM_DEPENDENCY_PORT_LISTARIES[@]}
|
openim::util::check_ports ${OPENIM_DEPENDENCY_PORT_LISTARIES[@]}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user