diff --git a/README.md b/README.md index b752e56..b18c001 100644 --- a/README.md +++ b/README.md @@ -262,21 +262,18 @@ docker start iotex ## Upgrade Your Node(One Line Upgrader) Make sure you have `$IOTEX_HOME` already set up, and all the files(configs, dbs etc) are placed in the right locations (Please refer to the Join MainNet section). -To upgrade mainnet node, use following command. By default, it will upgrade to latest mainnet version. +To upgrade mainnet node, use following command. By default, it will upgrade to latest mainnet version. You may need to run `sudo bash` if your docker requires root privilege. ```bash -sudo bash # If your docker requires root privilege bash <(curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) ``` To enable [gateway](#gateway) on mainnet ```bash -sudo bash # If your docker requires root privilege bash <(curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/setup_fullnode.sh) plugin=gateway ``` To stop auto upgdrade cron job and iotex server program, you can run ```bash -sudo bash # If your docker requires root privilege bash <(curl -s https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/scripts/stop_fullnode.sh) ``` ## Gateway Plugin