-
linux system service
-
Uses nodejs to:
- start relayer instances (one instance per path)
- rly stdout redirected to websocket
- http server with dashboard to monitor
-
optional configuration:
- periodic restart of relayers
-
contextual awareness for
- insufficient fee
git clone https://github.com/jasbanza/cosmos-relayer-monitor.git
cd cosmos-relayer-monitor
npm install
Optional - update path to node executable for the ExecStart property in the service file. (root's path might differ to the logged in user / nvm's path, and if it's an older version of nodejs, it might break stuff...)
which node
cp cosmos-relayer-monitor.service /etc/systemd/system/cosmos-relayer-monitor.service
sudo chmod 755 /etc/systemd/system/cosmos-relayer-monitor.service
systemctl daemon-restart
systemctl status cosmos-relayer-monitor.service
journalctl -u cosmos-relayer-monitor.service
sudo ufw allow 3333 comment "cosmos-relayer-monitor"