Skip to content

SebastianPere1ra/mina-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

mina-utils

Node auto restarter

Automatically restarts container if node hangs

Requirements
sudo apt install -y curl bc jq && sudo usermod -aG docker $USER

Simple run
curl -s https://raw.githubusercontent.com/c29r3/mina-utils/main/node-restarter.sh | bash

Launch with notifications in telegram
curl -s https://raw.githubusercontent.com/c29r3/mina-utils/main/node-restarter.sh | bash -s -- <TG_TOKEN> <TG_CHAT_ID>

Add it to cron:
crontab -l | { cat; echo "*/10 * * * * curl -s https://raw.githubusercontent.com/c29r3/mina-utils/main/node-restarter.sh | bash"; } | crontab -

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages