mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
fix delete
This commit is contained in:
parent
75805e3c69
commit
5d57e93ee1
@ -1,6 +1,6 @@
|
|||||||
.PHONY: all build run gotool install clean help
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
BINARY_NAME=cron_task
|
BINARY_NAME=open_im_cron_task
|
||||||
BIN_DIR=../../../bin/
|
BIN_DIR=../../../bin/
|
||||||
|
|
||||||
all: gotool build
|
all: gotool build
|
@ -56,13 +56,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
#check=$(ps aux | grep -w ./${timer_task_name} | grep -v grep | wc -l)
|
check=$(ps aux | grep -w ./${cron_task_name} | grep -v grep | wc -l)
|
||||||
#if [ $check -ge 1 ]; then
|
if [ $check -ge 1 ]; then
|
||||||
# echo -e ${GREEN_PREFIX}"none port has been listening,belongs service is openImMsgTimer"${COLOR_SUFFIX}
|
echo -e ${GREEN_PREFIX}"none port has been listening,belongs service is cron_task_name"${COLOR_SUFFIX}
|
||||||
#else
|
else
|
||||||
# echo -e ${RED_PREFIX}"openImMsgTimer service does not start normally"${COLOR_SUFFIX}
|
echo -e ${RED_PREFIX}"cron_task_name service does not start normally"${COLOR_SUFFIX}
|
||||||
# echo -e ${RED_PREFIX}"please check ../logs/openIM.log "${COLOR_SUFFIX}
|
echo -e ${RED_PREFIX}"please check ../logs/openIM.log "${COLOR_SUFFIX}
|
||||||
# exit -1
|
exit -1
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
echo -e ${YELLOW_PREFIX}"all services launch success"${COLOR_SUFFIX}
|
echo -e ${YELLOW_PREFIX}"all services launch success"${COLOR_SUFFIX}
|
||||||
|
@ -27,6 +27,10 @@ demo_server_name="open_im_demo"
|
|||||||
demo_server_binary_root="../bin/"
|
demo_server_binary_root="../bin/"
|
||||||
demo_server_source_root="../cmd/open_im_demo/"
|
demo_server_source_root="../cmd/open_im_demo/"
|
||||||
|
|
||||||
|
cron_task_name="open_im_cron_task"
|
||||||
|
cron_task_binary_root="../bin/"
|
||||||
|
cron_task_source_root="../cmd/open_im_cron_task/"
|
||||||
|
|
||||||
|
|
||||||
#Global configuration file default dir
|
#Global configuration file default dir
|
||||||
config_path="../config/config.yaml"
|
config_path="../config/config.yaml"
|
||||||
@ -48,7 +52,7 @@ service_source_root=(
|
|||||||
../cmd/rpc/open_im_organization/
|
../cmd/rpc/open_im_organization/
|
||||||
../cmd/rpc/open_im_conversation/
|
../cmd/rpc/open_im_conversation/
|
||||||
../cmd/rpc/open_im_cache/
|
../cmd/rpc/open_im_cache/
|
||||||
../cmd/cron_task
|
../cmd/open_im_cron_task
|
||||||
${msg_gateway_source_root}
|
${msg_gateway_source_root}
|
||||||
${msg_transfer_source_root}
|
${msg_transfer_source_root}
|
||||||
${msg_source_root}
|
${msg_source_root}
|
||||||
@ -73,7 +77,7 @@ service_names=(
|
|||||||
open_im_organization
|
open_im_organization
|
||||||
open_im_conversation
|
open_im_conversation
|
||||||
open_im_cache
|
open_im_cache
|
||||||
cron_task
|
open_im_cron_task
|
||||||
${msg_gateway_name}
|
${msg_gateway_name}
|
||||||
${msg_transfer_name}
|
${msg_transfer_name}
|
||||||
${msg_name}
|
${msg_name}
|
||||||
|
@ -22,7 +22,7 @@ service_filename=(
|
|||||||
open_im_organization
|
open_im_organization
|
||||||
open_im_conversation
|
open_im_conversation
|
||||||
open_im_cache
|
open_im_cache
|
||||||
cron_task
|
open_im_cron_task
|
||||||
)
|
)
|
||||||
|
|
||||||
#service config port name
|
#service config port name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user