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

docs: Cosmovisor instruction #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions docs/cosmovisor/COSMOVISOR.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,27 @@ go install cosmossdk.io/tools/cosmovisor/cmd/[email protected]
cosmovisor version
```

Set the required environment variables:
#### Set the required environment variables.

In case that you you systemd to run galalacticad service make changes in unit file(example: Environment=DAEMON_NAME=galacticad)

* export DAEMON_NAME=galacticad (the name of the galactica binary)
* export DAEMON_HOME=$HOME/.galactica (home directory)
* export DAEMON_ALLOW_DOWNLOAD_BINARIES=true (enable auto-downloading of new binaries)
* export UNSAFE_SKIP_BACKUP=true (upgrades directly without performing a backup)

## Initialization cosmosvisor:
## Initialization cosmosvisor

This command creates the folder structure required for using cosmovisor.

```bash
```bash
cosmovisor init <path to binary file>
```

## Start cosmovisor
## Start cosmovisor

* If you use systemd you need to replace the name of the binary file with cosmovisor and add run command

cosmovisor run \<galacticad start command\>
```bash
cosmovisor run \<galacticad start command\>
```