mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
log
This commit is contained in:
parent
7a3e02b4cc
commit
c806549f59
@ -65,10 +65,11 @@ function openim::msgtransfer::start() {
|
||||
|
||||
function openim::msgtransfer::check() {
|
||||
PIDS=$(pgrep -f "${OPENIM_OUTPUT_HOSTBIN}/openim-msgtransfer")
|
||||
echo "transsssssssssssssssssssssss" [$PIDS]
|
||||
echo "$PIDS" | wc -l
|
||||
echo "tdddddddddddddddddranssssssssssssssssssssssss" $PIDS
|
||||
NUM_PROCESSES=$(echo "$PIDS" | wc -l)
|
||||
if [ -z "$PIDS" ]; then
|
||||
NUM_PROCESSES=0
|
||||
else
|
||||
NUM_PROCESSES=$(echo "$PIDS" | wc -l)
|
||||
fi
|
||||
if [ "$NUM_PROCESSES" -eq "$OPENIM_MSGGATEWAY_NUM" ]; then
|
||||
for PID in $PIDS; do
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user