Last active
January 15, 2021 09:47
Script to setup the Desmos service to work without Cosmovisor
This file contains hidden or 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 | |
LimitNOFILE=4096 | |
[Install] | |
WantedBy=multi-user.target | |
EOF | |
echo "===> Restarting service <===" | |
sudo systemctl stop desmosd | |
sudo systemctl daemon-reload | |
sudo systemctl start desmosd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment