This repository contains a shell script that monitors the status of the BlockScout service and restarts it if it's down. This guide explains how to clone and set up the script on your Linux Ubuntu server.
- Linux Ubuntu server
- Git installed (
sudo apt-get install git
) - Tmux installed (
sudo apt-get install tmux
)
-
Clone the Repository
Open a terminal on your Linux Ubuntu server and run the following command to clone the repository:
git clone https://github.com/EtherAuthority/blockscout-monitor.git
-
Make file executable
chmod +x monitor.sh
-
Init Tmux session
tmux
-
Run the shell script
./monitor.sh
-
Exit/Deteched from Tmux
Type keyboard shortcut command
ctrl+b then d
Enjoy!!!