Last active
June 25, 2021 08:03
-
-
Save davepuchyr/596b4715106057a14b720e2e702bd566 to your computer and use it in GitHub Desktop.
Run `iov-mainnet-2-halt.sh` on your `iov-mainnet-2` nodes when https://big-dipper.iov-mainnet-2.iov.one/proposals/7 passes
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
#!/bin/sh | |
# become root | |
sudo su -c bash | |
# pick-up env vars | |
set -o allexport ; source /etc/systemd/system/starname.env ; set +o allexport | |
# inject the halt height into iovnsd.sh | |
sed --in-place 's/iovnsd start/iovnsd start --halt-height 4294679/' ${DIR_IOVNS}/iovnsd.sh | |
# restart the service | |
systemctl restart starname.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment