Skip to content

Commit

Permalink
fix issue #111 (#112)
Browse files Browse the repository at this point in the history
replace --append with -a for command tee (#111)
  • Loading branch information
gzliudan authored Dec 20, 2023
1 parent b9e77c6 commit 1a270ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devnet/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ XDC --ethstats ${netstats} --gcmode=archive \
--rpcvhosts "*" --unlock "${wallet}" --password /work/.pwd --mine \
--gasprice "1" --targetgaslimit "420000000" --verbosity 3 \
--ws --wsaddr=0.0.0.0 --wsport 8555 \
--wsorigins "*" 2>&1 >>/work/xdcchain/xdc.log | tee --append /work/xdcchain/xdc.log
--wsorigins "*" 2>&1 >>/work/xdcchain/xdc.log | tee -a /work/xdcchain/xdc.log
2 changes: 1 addition & 1 deletion mainnet/start-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ INSTANCE_IP=$(curl https://checkip.amazonaws.com)
netstats="${INSTANCE_NAME}:xinfin_xdpos_hybrid_network_stats@stats.xinfin.network:3000"

echo "Starting nodes with $bootnodes ..."
XDC --ethstats ${netstats} --bootnodes ${bootnodes} --syncmode ${NODE_TYPE} --datadir /work/xdcchain --networkid 50 -port 30303 --rpc --rpccorsdomain "*" --rpcaddr 0.0.0.0 --rpcport 8545 --rpcapi admin,db,eth,debug,net,shh,txpool,personal,web3,XDPoS --rpcvhosts "*" --ws --wsaddr="0.0.0.0" --wsorigins "*" --wsport 8546 --wsapi admin,db,eth,debug,net,shh,txpool,personal,web3,XDPoS --unlock "${wallet}" --password /work/.pwd --mine --gasprice "1" --targetgaslimit "420000000" --verbosity 3 2>&1 >>/work/xdcchain/xdc.log | tee --append /work/xdcchain/xdc.log
XDC --ethstats ${netstats} --bootnodes ${bootnodes} --syncmode ${NODE_TYPE} --datadir /work/xdcchain --networkid 50 -port 30303 --rpc --rpccorsdomain "*" --rpcaddr 0.0.0.0 --rpcport 8545 --rpcapi admin,db,eth,debug,net,shh,txpool,personal,web3,XDPoS --rpcvhosts "*" --ws --wsaddr="0.0.0.0" --wsorigins "*" --wsport 8546 --wsapi admin,db,eth,debug,net,shh,txpool,personal,web3,XDPoS --unlock "${wallet}" --password /work/.pwd --mine --gasprice "1" --targetgaslimit "420000000" --verbosity 3 2>&1 >>/work/xdcchain/xdc.log | tee -a /work/xdcchain/xdc.log

0 comments on commit 1a270ae

Please sign in to comment.