Skip to content

Commit

Permalink
add check machine config shell
Browse files Browse the repository at this point in the history
  • Loading branch information
lvs007 committed Sep 20, 2018
1 parent 7f5b0f3 commit 00f3c72
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions check-machine-config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

wget https://raw.githubusercontent.com/tronprotocol/TronDeployment/master/Benchmark.jar -O Benchmark.jar
java -jar Benchmark.jar

if [ $? == 1 ]; then
echo "Start fail! Please upgrade server configuration."
exit 1
fi

0 comments on commit 00f3c72

Please sign in to comment.