File tree 2 files changed +5
-4
lines changed 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ PUBLIC_ADDR_DISCOVERY=${PUBLIC_ADDR_DISCOVERY:-"true"}
43
43
LOG_LEVEL=${LOG_LEVEL:- " info" }
44
44
45
45
# Run the migrator (e.g. move RocksDB data from "./witnet" into "./witnet/storage")
46
- ./migrator.sh
46
+ ./migrator.sh $@
47
47
48
48
# Change directory into the file system root so that all paths are absolute when using "docker exec"
49
49
cd /
52
52
while true ; do
53
53
# Run the public address detector if enabled
54
54
if [[ " $PUBLIC_ADDR_DISCOVERY " == " true" ]]; then
55
- /tmp/ip_detector.sh
55
+ /tmp/ip_detector.sh $@
56
56
fi
57
57
58
58
# Run the node itself, using configuration from the default directory and passing down any arguments that may be
59
59
# appended when running "docker run"
60
- RUST_LOG=witnet=$LOG_LEVEL /tmp/witnet-raw -c " $CONFIG_FILE " " $COMMAND " || echo " $ERROR_BANNER "
60
+ echo " Running as 'RUST_LOG=witnet=$LOG_LEVEL /tmp/witnet-raw -c \" $CONFIG_FILE \" $COMMAND '"
61
+ RUST_LOG=witnet=$LOG_LEVEL /tmp/witnet-raw -c " $CONFIG_FILE " $COMMAND || echo " $ERROR_BANNER "
61
62
sleep 30
62
63
done
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ data_request_max_retrievals_per_epoch = 30
75
75
data_request_timeout_milliseconds = 2000
76
76
# Path for the `genesis_block.json` file that contains the initial wit allocations that need to be built into the first
77
77
# block in the block chain.
78
- genesis_path = " .witnet/config /testnet-1/genesis_block.json"
78
+ genesis_path = " /tmp /testnet-1/genesis_block.json"
79
79
# `mint_external_address` and `mint_external_percentage` enable splitting the mint reward between the node's
80
80
# own address and an "external" address, e.g. a the address of a wallet. `mint_external_percentage` indicates
81
81
# the percentage of the block rewards that will be assigned to `mint_external_address` (50% by default)
You can’t perform that action at this time.
0 commit comments