mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-04 11:22:17 +08:00
log
This commit is contained in:
parent
a8ed65b041
commit
0011542d29
@ -65,6 +65,8 @@ function openim::msgtransfer::start() {
|
|||||||
|
|
||||||
function openim::msgtransfer::check() {
|
function openim::msgtransfer::check() {
|
||||||
PIDS=$(pgrep -f "${OPENIM_OUTPUT_HOSTBIN}/openim-msgtransfer")
|
PIDS=$(pgrep -f "${OPENIM_OUTPUT_HOSTBIN}/openim-msgtransfer")
|
||||||
|
echo "transsssssssssssssssssssssss" $PIDS
|
||||||
|
|
||||||
NUM_PROCESSES=$(echo "$PIDS" | wc -l)
|
NUM_PROCESSES=$(echo "$PIDS" | wc -l)
|
||||||
if [ "$NUM_PROCESSES" -eq "$OPENIM_MSGGATEWAY_NUM" ]; then
|
if [ "$NUM_PROCESSES" -eq "$OPENIM_MSGGATEWAY_NUM" ]; then
|
||||||
for PID in $PIDS; do
|
for PID in $PIDS; do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user