mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
Merge branch 'fix/script' of github.com:luhaoling/open-im-server into fix/script
This commit is contained in:
commit
c1b2a29899
@ -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