diff --git a/scripts/forks/gigahorse_launch.sh b/scripts/forks/gigahorse_launch.sh index 13fe7b39..98460cdc 100644 --- a/scripts/forks/gigahorse_launch.sh +++ b/scripts/forks/gigahorse_launch.sh @@ -101,6 +101,10 @@ if [[ ${mode} =~ ^fullnode.* ]]; then echo "Starting Gigahorse recompute_server shortly..." sleep 20 && /chia-gigahorse-farmer/chia_recompute_server 2>&1 > /root/.chia/mainnet/log/recompute.log & fi + if [[ ${chia_exporter} == "true" ]]; then + echo "Starting Chia Exporter service for Prometheus reporting..." + sleep 20 && /usr/local/bin/chia-exporter serve 2>&1 > /root/.chia/mainnet/log/chia-exporter.log & + fi elif [[ ${mode} =~ ^farmer.* ]]; then /chia-gigahorse-farmer/chia.bin start farmer-only elif [[ ${mode} =~ ^harvester.* ]]; then @@ -133,6 +137,10 @@ elif [[ ${mode} =~ ^harvester.* ]]; then echo "Starting Gigahorse recompute_server shortly..." sleep 20 && /chia-gigahorse-farmer/chia_recompute_server 2>&1 > /root/.chia/mainnet/log/recompute.log & fi + if [[ ${chia_exporter} == "true" ]]; then + echo "Starting Chia Exporter service for Prometheus reporting..." + sleep 20 && /usr/local/bin/chia-exporter serve 2>&1 > /root/.chia/mainnet/log/chia-exporter.log & + fi fi elif [[ ${mode} == 'plotter' ]]; then echo "Starting in Plotter-only mode. Run Plotman from either CLI or WebUI."