Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameters to run.sh #1

Closed
wants to merge 1 commit into from
Closed

Conversation

julianrubino
Copy link
Member

  • Add parameters to run.sh to avoid setting env vars.
  • Env vars are still supported.

Parameters added:
--moniker
--network (default: mainnet)
--snapshot-type (default: fullnode)
--allow-download-binaries (default: true)
--restart-after-upgrade (default: true)

Usage:
./run.sh --moniker MyMoniker --network testnet --snapshot-type fullnode --allow-download-binaries false --restart-after-upgrade false

Only --moniker is needed to run the script.

- Add parameters to run.sh to avoid setting env vars.
- Env vars are still supported.

Parameters added:
--moniker
--network (default: mainnet)
--snapshot-type (default: fullnode)
--allow-download-binaries (default: true)
--restart-after-upgrade (default: true)

Usage:
`./run.sh --moniker MyMoniker --network testnet --snapshot-type fullnode --allow-download-binaries false --restart-after-upgrade false`

Only `--moniker` is needed to run the script.
@gartnera
Copy link
Member

I would prefer if we just use the environment variables so you can pass arguments to zetacored directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants