From 9cdf4d0cf80f4b536190891f62fd04ae01c8fa95 Mon Sep 17 00:00:00 2001 From: liwei Date: Mon, 30 Oct 2023 15:12:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=90=AF=E5=8A=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/start.sh | 4 +++- bin/stop.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/start.sh b/bin/start.sh index cfde5e35b..66d1b2c41 100755 --- a/bin/start.sh +++ b/bin/start.sh @@ -6,11 +6,13 @@ sleep 1 ./stup.sh start df01_mainte mainte ./conf/df01_mainte.yaml sleep 1 ./stup.sh start df01_worker0 worker ./conf/df01_worker0.yaml +sleep 1 +./stup.sh start df01_worker1 worker ./conf/df01_worker1.yaml sleep 5 ./stup.sh start df01_gateway0 gateway ./conf/df01_gateway0.yaml sleep 1 -curl -XPOST -s -L 'https://oapi.dingtalk.com/robot/send?access_token=afd9b57c786ddfb5d370500dcee1ca97e5449952c536c8575a7f491fd1a59a5b' -H 'Content-Type: application/json' -H "charset:utf-8" -d '{"msgtype": "text", +curl -XPOST -s -L 'https://oapi.dingtalk.com/robot/send?access_token=c6d2066cd4b36882b5dc3033e359a1c1b259eb4fd6cb69f397a65f544dbce86f' -H 'Content-Type: application/json' -H "charset:utf-8" -d '{"msgtype": "text", "text": { diff --git a/bin/stop.sh b/bin/stop.sh index 181d38c6b..70600fc53 100755 --- a/bin/stop.sh +++ b/bin/stop.sh @@ -1,5 +1,5 @@ #!/bin/sh -curl -XPOST -s -L 'https://oapi.dingtalk.com/robot/send?access_token=afd9b57c786ddfb5d370500dcee1ca97e5449952c536c8575a7f491fd1a59a5b' -H 'Content-Type: application/json' -H "charset:utf-8" -d '{"msgtype": "text", +curl -XPOST -s -L 'https://oapi.dingtalk.com/robot/send?access_token=c6d2066cd4b36882b5dc3033e359a1c1b259eb4fd6cb69f397a65f544dbce86f' -H 'Content-Type: application/json' -H "charset:utf-8" -d '{"msgtype": "text", "text": { @@ -15,6 +15,8 @@ curl -XPOST -s -L 'https://oapi.dingtalk.com/robot/send?access_token=afd9b57c78 ./stup.sh stop df01_worker0 +./stup.sh stop df01_worker1 + ./stup.sh stop dfcross_1_worker0 ./stup.sh stop dfcross_1_mainte