GxMiner icon indicating copy to clipboard operation
GxMiner copied to clipboard

How to run gxminer in background?

Open corcepts opened this issue 5 years ago • 1 comments

Hi, its great in the next release a option to run in background!

corcepts avatar Feb 11 '20 13:02 corcepts

  • Windows

modify the build.sh file

flag="-X main.BuildVersion=`echo $ALGO`"

to

flag="-X main.BuildVersion=`echo $ALGO` -H=windowsgui"

And plan B is that making this application a windows service. It's not good. It should be just a simple standalone application.

  • Others

use nohup ./gxminer > /dev/null 2>&1 &, screen, tmux. pm2, supervisor...

Tons of daemon/shell managers are better than built-in daemon function.

c0mm4nd avatar Feb 26 '20 12:02 c0mm4nd