Post
Topic
Board Mining software (miners)
Re: cgmon - mining monitor for Linux - auto restart, reboot, sick gpu detect, &more
by
jdape
on 17/04/2014, 14:06:52 UTC
I'm a little confused by the config script. Why does it need my sgminer settings? All I want the script for is to reboot the machine now and again if a card goes sick, once it has rebooted, it's already set up to restart mining automatically so I don't need the script to do anything else. Can I just leave these settings blank, or comment them out? Same with the primary pool settings.

To get that behavior, you can comment out these two lines to disable mining:

Code:
catch {exec /bin/bash -c $exec_cmd} out
Code:
catch {exec su $conf(mining_user) -c /bin/bash -c $exec_cmd} out

Make sure this is set to the correct name of your mining program:

Code:
set conf(cgminer_exec) "cgminer"

The other settings can probably be left as is, or blank.