From 8336434d3fb803d1de8d638d4fd5829368d45748 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Thu, 8 Jul 2021 23:11:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=B9=E5=99=A8=E5=90=AF=E5=8A=A8=E6=97=B6bo?= =?UTF-8?q?t=E5=92=8C=E8=87=AA=E5=AE=9A=E4=B9=89=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E6=94=B9=E6=88=90=E5=90=8E=E5=8F=B0=E8=BF=90=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/docker-entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 2e10c422..e6da124f 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -36,12 +36,14 @@ echo -e "定时任务启动成功...\n" if [[ $AutoStartBot == true ]]; then echo -e "======================6. 启动bot========================\n" - ql bot + nohup ql bot >>$dir_log/start.log 2>&1 & + echo -e "bot后台启动中...\n" fi if [[ $EnableExtraShell == true ]]; then echo -e "======================7. 执行自定义脚本========================\n" - ql extra + nohup ql extra >>$dir_log/start.log 2>&1 & + echo -e "自定义脚本后台执行中...\n" fi echo -e "############################################################\n"