一键启动 一键关闭脚本

This commit is contained in:
meixiongfeng 2022-07-21 21:08:25 +08:00
parent 98679169f1
commit 477bfd265a
2 changed files with 10 additions and 0 deletions

5
bin/start.sh Normal file
View File

@ -0,0 +1,5 @@
./stup.sh start mainte mainte ./conf/mainte.yaml
sleep 1
./stup.sh start worker_1 worker ./conf/worker_1.yaml
sleep 1
./stup.sh start gateway_1 gateway ./conf/gateway_1.yaml

5
bin/stop.sh Normal file
View File

@ -0,0 +1,5 @@
./stup.sh stop gateway_1
./stup.sh stop mainte
./stup.sh stop worker_1