Skip to content

Commit

Permalink
Merge pull request #108 from resilientdb/fix_local_confi
Browse files Browse the repository at this point in the history
fix utxo start script
  • Loading branch information
cjcchen authored Nov 3, 2023
2 parents 30345da + 4c3e3b1 commit a1955ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/tools/utxo/service_tools/start_utxo_service.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
killall -9 utxo_server

SERVER_PATH=./bazel-bin/service/utxo/server/utxo_server
SERVER_PATH=./bazel-bin/service/utxo/utxo_service
SERVER_CONFIG=service/tools/config/server/server.config
WORK_PATH=$PWD
CERT_PATH=${WORK_PATH}/service/tools/data/cert/
UTXO_CONFIG=service/tools/config/server/utxo_config.config


bazel build //service/utxo/server:utxo_server
bazel build //service/utxo:utxo_service
nohup $SERVER_PATH $SERVER_CONFIG $CERT_PATH/node1.key.pri $CERT_PATH/cert_1.cert ${UTXO_CONFIG} > server0.log &
nohup $SERVER_PATH $SERVER_CONFIG $CERT_PATH/node2.key.pri $CERT_PATH/cert_2.cert ${UTXO_CONFIG} > server1.log &
nohup $SERVER_PATH $SERVER_CONFIG $CERT_PATH/node3.key.pri $CERT_PATH/cert_3.cert ${UTXO_CONFIG} > server2.log &
Expand Down

0 comments on commit a1955ad

Please sign in to comment.