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