Cosmovisor
Autolaunch:
Stop the service:
sudo systemctl stop uptickd.service
List of flags:
- -p - Path to the binary
- -b - Binary name
- -c - Config folder name
wget https://raw.githubusercontent.com/Staketab/cosmos-tools/main/cosmovisor/launch.sh
chmod +x launch.sh
./launch.sh -p /root/go/bin/uptickd -b uptickd -c .uptickd
Restart the service:
sudo systemctl restart uptickd.service
Conclusion
Now your node will work with Cosmovisor and will be updated automatically when links to the binary were provided in the Proposal. If not, you need to build from the source and put the Binary in the Cosmovisor upgrades folder.
Example
Build the Binary:
git clone https://github.com/UptickNetwork/uptick.git
cd uptick
git checkout v0.2.18
make build
Make a folder (Upgrade version in the table) and move the new binary:
mkdir -p $HOME/.uptickd/cosmovisor/upgrades/v0.2.18/bin
mv ./build/uptickd $HOME/.uptickd/cosmovisor/upgrades/v0.2.18/bin