0x00031337 / graft-sn-watchdog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graft-Alpha-Watchdog

Graft SN alpha3 Watchdog/Reset

cd ~

git clone https://github.com/graft-community/graft-sn-watchdog

cd graft-sn-watchdog

sudo chmod +x gn.sh once in folder

sudo chmod +x gs.sh once in folder

./gn.sh to launch graftnode reset script once in folder

./gs.sh to launch graft_server reset script once in folder

These can be run inside seperate TMUX sessions or panes although graftnoded is set for --detach so there will be no screen response.

Then run python3 snwatchdog.py inside the folder, once both above .sh scripts are loaded.

Currently the snwatchdog script now looks for less than 5 SN's in the sn list and resets both graft instances if this occurs.

About

License:GNU General Public License v3.0


Languages

Language:Python 89.2%Language:Shell 10.8%