Script to keep MN running even after server restarts ~?


#1

this script comes from the Dash boy’s it’s purpose is to is to check every 60 seconds that the masternode is running and restart if not …

could anyone here tell me if this could be simply adapted to Polis MN and if so maybe adding it to the Polis MN guide could be a good thing to do

PLEASE DO NOT USE THIS SCRIPT ON POLIS MN UNTILL A MEMBER OF POLIS STAFF CONFIRM IT IS SAFE USE


Add a check function to crontab to make sure it checks every minute to ensure your masternode is still running:

crontab -e

Choose nano as your editor and enter the following line at the end of the file, after the line for sentinel:

          • pidof dashd || ~/.dashcore/dashd