To apply for "Horizen - Zen Secure and Super Node" cryptocurrencies. Useful if you have installed your node using a dynamic public address. this script actualize the public address in your node configuration file and restarting the service, avoiding downtimes and exlusions of your earnings periods.
No dependencies -
- possibles errors depending the linux distribution or versions, with options of 'cut -d...-f' shell command.
Script runs properly on Ubuntu 16.04.7 LTS
CONFIGURE YOUR Variables: dns conf (by default=$HOME/.zen/zen.conf)
sudo chmod +x autozend.sh
Run the script on a background process:
sudo ./autozend.sh &