The package contains MQTT statistics publisher for HiveOS miner.
To run the project:
cd ~
git clone https://github.com/letovlive/hiveos-mqtt-stats.git
cd hiveos-mqtt-stats
cp .env.example .envUse preferred editor and setup credentials in .env file. Or use vi to edit:
vi .envMake scripts executable:
chmod +x install.sh
chmod +x start.sh
chmod +x stop.shInstall and run:
./install.sh
./start.shTo stop publishing statistics:
./stop.shTo remove the project:
cd ~/hiveos-mqtt-stats
chmod +x uninstall.sh
./uninstall.sh