Skip to content

Commit

Permalink
Merge 18eef7c into e92d203
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar authored Aug 4, 2022
2 parents e92d203 + 18eef7c commit a842b56
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions kube/manifest/starcoin-halley.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,10 @@ spec:
/starcoin/starcoin -n halley -d /sc-data --discover-local=true $node_key_flag;
ret=$?;
if [ $ret -ne 0 ]; then
echo "Node start fail, try to remove config.";
echo "Node start fail, try to remove config and data.";
rm /sc-data/halley/config.toml;
rm /sc-data/halley/genesis_config.json;
fi;
if [ $ret -eq 120 ]; then
echo "Start failed with gensis mismatch code 120, clean data...";
rm -rf /sc-data/halley/ &>/dev/null;
rm -rf /sc-data/halley/ &>/dev/null;
fi;
ports:
- containerPort: 9840
Expand Down

0 comments on commit a842b56

Please sign in to comment.