dataflow/start.sh
2022-06-01 18:43:01 +08:00

10 lines
286 B
Bash

screen -S raft-0 -X quit
screen -S raft-1 -X quit
screen -S raft-2 -X quit
sleep 2
screen -dmS raft-0 -L java -jar target/dataflow-1.0-SNAPSHOT.jar 0
screen -dmS raft-1 -L java -jar target/dataflow-1.0-SNAPSHOT.jar 1
screen -dmS raft-2 -L java -jar target/dataflow-1.0-SNAPSHOT.jar 2