Skip to content

A shell script program to monitor "Blockscout Explorer" and If its status is detected as stopped, restart it automatically.

Notifications You must be signed in to change notification settings

EtherAuthority/blockscout-monitor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

BlockScout Monitor Script Setup

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.

Prerequisites

  • Linux Ubuntu server
  • Git installed (sudo apt-get install git)
  • Tmux installed (sudo apt-get install tmux)

Instructions

  1. 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
    
  2. Make file executable

    chmod +x monitor.sh
    
  3. Init Tmux session

    tmux
    
  4. Run the shell script

    ./monitor.sh
    
  5. Exit/Deteched from Tmux

    Type keyboard shortcut command

    ctrl+b then d
    

Enjoy!!!

About

A shell script program to monitor "Blockscout Explorer" and If its status is detected as stopped, restart it automatically.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%