[node] fix node.sh to input passphrase

Signed-off-by: Leo Chen <leo@harmony.one>
pull/897/head
Leo Chen 6 years ago
parent 2b8492d215
commit 53c78c9fb4
  1. 2
      scripts/node.sh

@ -141,7 +141,7 @@ BN_MA=/ip4/100.26.90.187/tcp/9874/p2p/Qmdfjtk6hPoyrH1zVD9PEH4zfWLo38dP2mDvvKXfh3
echo "############### Running Harmony Process ###############" echo "############### Running Harmony Process ###############"
if [ "$OS" == "Linux" ]; then if [ "$OS" == "Linux" ]; then
# Run Harmony Node # Run Harmony Node
LD_LIBRARY_PATH=$(pwd) nohup ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -account_index $IDX > harmony-${PUB_IP}.log 2>&1 & LD_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -account_index $IDX
else else
DYLD_FALLBACK_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -account_index $IDX > harmony-${PUB_IP}.log 2>&1 & DYLD_FALLBACK_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -account_index $IDX > harmony-${PUB_IP}.log 2>&1 &
fi fi

Loading…
Cancel
Save