This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo '===> Stopping service' | |
sudo systemctl stop desmosd | |
echo '===> Building Desmos' | |
cd ~/desmos | |
git fetch --tags --force | |
git checkout tags/v0.17.2 | |
make build install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# This script allows you to setup your node properly getting it | |
# ready for the Morpheus-13000 update. | |
# It will checkout and build the propery Desmos version, as well | |
# as setup your Systemd service. | |
# The only thing you have to do is run it giving it the first | |
# argument which is the path where you cloned the Desmos | |
# repository. | |
# E.g. | |
# ./morpheus-13000-update.sh ~/desmos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The user is not using Cosmovisor | |
sudo tee $FILE > /dev/null <<EOF | |
[Unit] | |
Description=Desmos Full Node | |
After=network-online.target | |
[Service] | |
User=$USER | |
ExecStart=$GOBIN/desmos start | |
Restart=always | |
RestartSec=3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo tee $FILE > /dev/null <<EOF | |
[Unit] | |
Description=Desmos Full Node | |
After=network-online.target | |
[Service] | |
User=$USER | |
ExecStart=$GOBIN/cosmovisor start | |
Restart=always | |
RestartSec=3 | |
LimitNOFILE=4096 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# This script allows you to setup your node properly getting it | |
# ready for the October update. | |
# It will checkout and build the propery Desmos version, as well | |
# as setup your Systemd service. | |
# The only thing you have to do is run it giving it the first | |
# argument which is the path where you cloned the Desmos | |
# repository. | |
# E.g. | |
# ./morpheus-10000-update.sh ~/desmos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script allows to fix the September upgrade setup in order to make sure your node works properly. | |
# Please run run after you've ran this one: https://gist.github.com/ForboleDevelopment/92979d9be88bd593f234e28ff2cd353a | |
cd ~/desmos | |
git fetch -a | |
git checkout tags/v0.12.1 | |
make build | |
mv build/desmosd ~/.desmosd/cosmovisor/upgrades/september-upgrade/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This script allows the easy installation of the Cosmovisor daemon to watch | |
# any upgrade of your Desmos node. | |
# In order to run it properly, just execute this script giving it the path | |
# to the folder where you cloned Desmos. | |
# Example: | |
# ./install-cosmovisor.sh ~/desmos | |
DESMOS_PATH=$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go into the folder where you downloaded Desmos | |
cd ~/desmos | |
# Checkout the correct Desmos tag and build the software | |
git fetch --tags && git checkout tags/v0.10.0 && make install | |
# Stop the currently running node | |
sudo systemctl stop desmosd | |
# Remove the current genesis and get the new one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go into the folder where you downloaded Desmos | |
cd ~/desmos | |
# Checkout the correct Desmos tag and build the software | |
git fetch --tags && git checkout tags/v0.5.3 && make install | |
# Restart the node | |
sudo systemctl restart desmosd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go into the folder where you downloaded Desmos | |
cd ~/desmos | |
# Checkout the correct Desmos tag and build the software | |
git fetch --tags && git checkout tags/v0.6.2 && make install | |
# Stop the currently running node | |
sudo systemctl stop desmosd | |
# Remove the current genesis and get the new one |
NewerOlder