Enable Hot Wallet Auto Start
This section is intended for MasterNode users that want to configure the Linux VPS to automatically start the MasterNode Hot wallet when the Linux VPS is rebooted.
Connect to your Linux VPS and login as xlibmn.
Elevate to root level privelege:
Run the following command to create and edit the file /etc/cron.d/resetliberty. This file will be used to tell the server to restart the Hot wallet upon bootup:
Copy the following text and paste it into the resetliberty file. This will create a cronjob that will start the Hot wallet automatically in the event that the server is rebooted:
@reboot xlibmn sleep 5 && /usr/local/bin/libertyd
- Save and close the file by hitting Ctrl-X, and then type Y to confirm that you want to save it, and then hit ENTER to confirm the file name.
Reboot the Linux VPS to test and verify that the Hot wallet will restart upon boot:
Wait a couple minutes and then reconnect your Linux VPS and login as xlibmn.
- It will take a couple of minutes for the Linux VPS to reboot.
Run the command ps -ef |grep libertyd to verify the Hot wallet is running:
ps -ef |grep libertyd
- You should get two lines of output, and one of the lines will have the text /usr/local/bin/libertyd.
- If you only get one line of text with the output grep --color=auto liberty then the wallet is not running and you will need to walk through the above steps again.
Run the command liberty-cli getblockcount to verify that your Hot wallet is indeed running and that your block count is increasing:
Verify that your MasterNode is still showing up on the MasterNode tracker website. The site is refreshed every 5 minutes so check it a few times just to be sure.
If the MasterNode Hot wallet automatically restarts after a reboot then you have successfully completed this section. CONGRATULATIONS!! The setup of your MasterNode is now fully complete!
NOTE: There is no need to proceed to the next section since all of the configuration steps have been completed.