c0mm4nd/GxMiner

How to run gxminer in background?

Opened this issue · 1 comments

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

  • 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.