This is from the great work of https://forum.smartcash.cc/u/msg768
This script Assumes you already have a Smartnode installed. If you need to install a new Smartnode you may want to use the installer script provided by @msg786 https://github.com/SmartCash/smartnode or you can follow my guide at https://forum.smartcash.cc/t/smartcash-smartnode-setup-guide-v2-1-mac-version-quick-setup/3022
You must run this script as smartadmin or ID you used to run smartcashd some people installed as root and that's ok. At the end of the script you will be asked for a sudo password to run the anti-ddos script and reboot command
- Make sure the daemon is always running:
makerun.sh
- Make sure the daemon is never stuck:
checkdaemon.sh
- Make sure smartcash is always up-to-date:
upgrade.sh
- Clear the log file every other day:
clearlog.sh
Login to your vps as smartadmin or ID you used to run smartcashd, donwload the installck.sh file and then run it:
wget https://rawgit.com/controllinghand/smartnode-checkonly/master/installck.sh
bash ./installck.sh