docs: use hyphens instead of snake case (#5802)

This commit is contained in:
Callum Waters
2020-12-17 08:59:58 +01:00
committed by GitHub
parent 6ef81c6074
commit ebff8a96a5
29 changed files with 206 additions and 207 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ Override the [command](https://github.com/tendermint/tendermint/blob/master/netw
- LOG=$${LOG:-tendermint.log}
volumes:
- ./build:/tendermint:Z
command: node --proxy_app=tcp://abci0:26658
command: node --proxy-app=tcp://abci0:26658
networks:
localnet:
ipv4_address: 192.167.10.2
+4 -4
View File
@@ -92,7 +92,7 @@ ansible-playbook -i inventory/digital_ocean.py -l sentrynet install.yml
```
which as you'll see below, executes
`tendermint node --proxy_app=kvstore` on all droplets. Although we'll
`tendermint node --proxy-app=kvstore` on all droplets. Although we'll
soon be modifying this role and running it again, this first execution
allows us to get each `node_info.id` that corresponds to each
`node_info.listen_addr`. (This part will be automated in the future). In
@@ -105,10 +105,10 @@ Next, open `roles/install/templates/systemd.service.j2` and look for the
line `ExecStart` which should look something like:
```sh
ExecStart=/usr/bin/tendermint node --proxy_app=kvstore
ExecStart=/usr/bin/tendermint node --proxy-app=kvstore
```
and add the `--p2p.persistent_peers` flag with the relevant information
and add the `--p2p.persistent-peers` flag with the relevant information
for each node. The resulting file should look something like:
```sh
@@ -122,7 +122,7 @@ Restart=on-failure
User={{service}}
Group={{service}}
PermissionsStartOnly=true
ExecStart=/usr/bin/tendermint node --proxy_app=kvstore --p2p.persistent_peers=167b80242c300bf0ccfb3ced3dec60dc2a81776e@165.227.41.206:26656,3c7a5920811550c04bf7a0b2f1e02ab52317b5e6@165.227.43.146:26656,303a1a4312c30525c99ba66522dd81cca56a361a@159.89.115.32:26656,b686c2a7f4b1b46dca96af3a0f31a6a7beae0be4@159.89.119.125:26656
ExecStart=/usr/bin/tendermint node --proxy-app=kvstore --p2p.persistent-peers=167b80242c300bf0ccfb3ced3dec60dc2a81776e@165.227.41.206:26656,3c7a5920811550c04bf7a0b2f1e02ab52317b5e6@165.227.43.146:26656,303a1a4312c30525c99ba66522dd81cca56a361a@159.89.115.32:26656,b686c2a7f4b1b46dca96af3a0f31a6a7beae0be4@159.89.119.125:26656
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM