This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configdata> | |
<!-- | |
IMPORTANT: To be able to change the configuration file properly, | |
you must be familiar with XML and XML Schema. | |
For information, refer to the W3Schools tutorials at | |
http://www.w3schools.com/xml and http://www.w3schools.com/schema/. | |
This configuration file format is described by the XML schema PRODUCT_ROOT_D/admin/plib/Health/Config/custom-health-config.xsd. Refer to the XML Schema for the information on the elements, their relationship, attributes, data types of the elements and their attributes, and fixed values for the elements and attributes. The following text explains elements and attributes the meaning of which might be not clear. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# check for masternode down v1 | |
# By Scriptiee | |
# | |
export HOME=/home/$user # replace $user with the user that runs the darkcoind | |
if $(/path/to/dashd getbalance 0 2>&1 | grep -q error) | |
then |